Historical Update and Read|OPC UA Standard|Forum|OPC Foundation

Avatar
Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
Lost password?
sp_Feed sp_PrintTopic sp_TopicIcon
Historical Update and Read
Avatar
Dmitriy Alekseev
New Member
Members
Forum Posts: 1
Member Since:
06/18/2019
sp_UserOfflineSmall Offline
1
04/19/2021 - 21:43
sp_Permalink sp_Print

Hello everyone,

At the moment, I'm trying to implement historical update support, but I'm not clear on the following - should I return data that comes from INSERT_1, REPLACE_2, UPDATE_3 as the result of a raw historical read? And how to do it correctly?

I am confused by the following phrase from the specification (regarding Read raw functionality):

...it reads the values, qualities, and timestamps from the history database for the specified time domain for one or more HistoricalDataNodes. This parameter is intended for use by a Client that wants the actual data saved within the historian

Since the modified values are not the ones that were saved by the historian, they should not be the result of a raw reading, but at the same time, the specification defines the following:

For cases where there are multiple values for a given timestamp, all but the most recent are considered to be Modified values and the Server shall return the most recent value. If the Server returns a value which hides other values at a timestamp then it shall set the ExtraData bit in the StatusCode associated with that value.

Thanks.

Avatar
Randy Armstrong
Admin
Forum Posts: 1564
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
2
04/20/2021 - 03:03
sp_Permalink sp_Print

There can only be one value at a timestamp for the purposes of most operations, however, this value may be updated.

ReadModified allows a client to retrieve the history of values at a timestamp.

Forum Timezone: America/Phoenix
Most Users Ever Online: 510
Currently Online:
Guest(s) 25
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Forum Stats:
Groups: 2
Forums: 10
Topics: 1435
Posts: 4855