Skip to main content

Hi Team,

I’m using OPC UA Extractor to extract time series data from Honeywell PHD source system.

I have configured history in configuration for backfilling for 30days.But, i can see more historian data than expected please find the screenshot below.

I have used following configurations in history.

 start-time: 0 

end-time: 30d-ago

 max-read-length:30d

 

 

Let me if this configuration is correct for fetching 30days previous day.

Please provide configuration if above one is wrong.

Hi, please read the documentation found here: https://docs.cognite.com/cdf/integration/guides/extraction/opc_ua/opc_ua_configuration. History is read from “start-time” to “end-time”. Your current configuration means that history will be read from time 0 (the beginning of server history) to 30 days ago.

 

Also, max-read-length does not do what you think it does. It is a workaround for specific server issues. If you do not need it, I highly recommend turning it off.


Hi Einar,

Thank you so much for quick reply.

It is so helpful I tried this configuration of start-time :30d-ago and endtime:0 and max-read-length:0.I can history starting from a month ago. Please find the screen shot. 

I would appreciate, if you could explain what the significance of max-read-length as documentation doesn’t have this parameter. It is present in the config.example.yml of OPC UA Extractor of version 2.21.1

Is max-read-length similar to max-history-length?

 

Regards,

Sandhya


max-read-length does appear to be missing from the docs, that’s an oversight. The docs on end-time are also no longer accurate, we will address this.

It is a workaround for servers that do not support ContinuationPoints, it limits the maximum length of each read request to the server. So if you request a year of history, and set max-read-length to 30 days, it will take at least 12 requests to the server to find all the data in that range, even if there are no data points in that timeseries at all.

There is no reason at all to use it on servers that support ContinuationPoints for history, and setting it to 30 days is likely to not work that well even if you had such a server.


Thanks Einar!!

This insight is helpful.

 

Regards,

Sandhya.


Hi Einar,

 

I can see history ,backfilling ,front filling with metadata working fine for single node.

when I tried similar type of configuration for entire node hierarchy  (provided the  namespace-uri, node-id) it is  not showing  datapoints in CDF and only empty time series is created. Even tried leaving the node as empty as it takes entire node hierarchy by default it is just showing the empty time series.

On total I have 5500 tags to be uploaded  in CDF. Just wanted to know if their is any restriction in no.of tags  that can be uploaded with datapoints in CDF.

 

Please find the configuration for entire node below.

root-node:
         # Full name of the namespace of the root node.
     namespace-uri: x:XXXOpcUaServer
         # Id of the root node, on the form "i=123" or "s=stringid" etc.
    node-id: "s=/ObjectsFolder/xxxServer"

 

Let me know if any other configuration needs to be done.

 

Regards,

Sandhya

 

 

 

 

 

 

 


Reply