View Issue Details

IDProjectCategoryView StatusLast Update
000207710000-011: Historical AccessSpecpublic2023-05-23 15:29
ReporterSergey Sobolev Assigned ToPaul Hunkar  
PrioritynormalSeverityfeatureReproducibilityalways
Status closedResolutionfixed 
Target Version1.05.03 RC1Fixed in Version1.05.03 RC1 
Summary0002077: OPC UA specification monitoring mode does not account for historical data changes
Description

At the moment OPC UA specification does not offer any kind of notification on historical data change for the values.
This kind of notification is required for proper value trending over long periods of time as well as historical data export to external system in the case when historical data is recorded after the fact.
There are number of after the fact recording:

  • Historical data for item was changed due to HistoryWrite() call
  • Underlying device supports buffering and historical data was retrieved independently from the realtime data for the period of time that was already received by the client
  • Reverse retrieval of the buffered realtime data (most recent values first) from the device
  • historical data was modified by external means

This kind of notification will be required to keep historical data on the client consistent with historical data on the server.

TagsNo tags attached.
Commit Version
Fix Due Date

Relationships

related to 0002462 closedPaul Hunkar Events for Historical Changes 

Activities

Jim Luth

2012-07-17 17:33

administrator   ~0003877

General issue of disconnected systems needs to be addressed in UA.

Jim Luth

2013-09-10 17:18

administrator   ~0004985

Larger topic is HA notifications.

Paul Hunkar

2023-03-24 01:44

developer   ~0019033

Last edited: 2023-05-02 02:14

Some of the bullet item actually do not apply to OPC UA historian.

1)Historical data for item was changed due to HistoryWrite() call
2)Underlying device supports buffering and historical data was retrieved independently from the realtime data for the period of time that was already received by the client
3)Reverse retrieval of the buffered realtime data (most recent values first) from the device
4)historical data was modified by external means

for Item 1) - a client could monitor for Audit events and detect when a HistoryWrite operation occurred and then perform a read if needed.
For Item 2) Assuming this type of data collection is not a HistoryWrite operation, then the client would have to rely on understand the gaps in data (i.e. the last stored data might be back in the pasted, or they might be a period of bad quality, but these case do not completely cover this case.
for Item 3) reverse retrieval is supported by the historian, this is just normal operation - no work would be needed.
for Item 4) if historical data is modified (even if not be the HistoryWrite), I would assume Audit event would be generate so again a client could easily detect this type of change.

The only issue that is not currently covered would be some sort of notification of a back fill operation (item 2). Maybe all that would be required is an event for this type of operation.

for reverse retrieval - this can be accomplished in the standard historian , since data can be asked for in any order

Paul Hunkar

2023-05-18 21:45

developer   ~0019398

Added Audit event that indicate a bulk transfer completed

Jim Luth

2023-05-23 15:29

administrator   ~0019426

Agreed to changes edited in Web meeting.

Issue History

Date Modified Username Field Change
2012-06-12 21:36 Sergey Sobolev New Issue
2012-07-17 17:33 Jim Luth Note Added: 0003877
2012-07-17 17:33 Jim Luth Status new => acknowledged
2013-09-10 17:18 Jim Luth Note Added: 0004985
2013-09-10 17:20 Jim Luth Relationship added related to 0002462
2016-03-08 17:48 Jim Luth Project Feature Requests => 10000-011: Historical Access
2016-03-08 17:48 Jim Luth Category (No Category) => Api Change
2016-03-08 17:49 Jim Luth Assigned To => Rod Stein
2016-03-08 17:49 Jim Luth Status acknowledged => assigned
2017-10-31 15:56 Jim Luth Category Api Change => Spec
2017-10-31 15:56 Jim Luth Target Version => ?.??
2022-12-09 16:59 Paul Hunkar Severity major => feature
2023-03-24 01:44 Paul Hunkar Note Added: 0019033
2023-03-24 14:01 Jim Luth Assigned To Rod Stein => Paul Hunkar
2023-03-24 14:01 Jim Luth Target Version => 1.05.03 RC1
2023-05-02 02:14 Paul Hunkar Note Edited: 0019033
2023-05-02 02:14 Paul Hunkar Note Edited: 0019033
2023-05-18 21:45 Paul Hunkar Status assigned => resolved
2023-05-18 21:45 Paul Hunkar Resolution open => fixed
2023-05-18 21:45 Paul Hunkar Fixed in Version => 1.05.03 RC1
2023-05-18 21:45 Paul Hunkar Note Added: 0019398
2023-05-23 15:29 Jim Luth Status resolved => closed
2023-05-23 15:29 Jim Luth Note Added: 0019426