High Performance OPC UA Server SDK  1.2.0.193
ua_timestampstoreturn

An enumeration that specifies the Timestamp Attributes to be transmitted for MonitoredItems or Nodes in Read and HistoryRead. More...

Enumerations

enum  ua_timestampstoreturn {
  UA_TIMESTAMPSTORETURN_SOURCE = 0, UA_TIMESTAMPSTORETURN_SERVER = 1, UA_TIMESTAMPSTORETURN_BOTH = 2, UA_TIMESTAMPSTORETURN_NEITHER = 3,
  UA_TIMESTAMPSTORETURN_INVALID = 4, UA_TIMESTAMPSTORETURN_MAX_ENUM_VALUE = INT32_MAX
}
 An enumeration that specifies the Timestamp Attributes to be transmitted for MonitoredItems or Nodes in Read and HistoryRead. More...
 

Functions

const char * ua_timestampstoreturn_to_string (enum ua_timestampstoreturn timestampstoreturn)
 

Detailed Description

An enumeration that specifies the Timestamp Attributes to be transmitted for MonitoredItems or Nodes in Read and HistoryRead.

OPC UA defines two timestamps, the source and the server timestamp. This parameter allows the client to define which timestamps the server should return with the value.

The source timestamp is only available for Value Attributes. The source timestamp is used to reflect the timestamp that was applied to a Variable value by the data source. It should indicate the last change of the value or status code. The source timestamp must be always generated by the same physical clock. This timestamp type was added for OPC UA to cover the use case to get the timestamp of the last value change which is different than the server timestamp definition.

The server timestamp is used to reflect the time that the server received a Variable value or knew it to be accurate if the changes are reported by exception and the connection to the data source is operating. This is the behavior expected by Classic OPC.

Enumeration Type Documentation

An enumeration that specifies the Timestamp Attributes to be transmitted for MonitoredItems or Nodes in Read and HistoryRead.

OPC UA defines two timestamps, the source and the server timestamp. This parameter allows the client to define which timestamps the server should return with the value.

The source timestamp is only available for Value Attributes. The source timestamp is used to reflect the timestamp that was applied to a Variable value by the data source. It should indicate the last change of the value or status code. The source timestamp must be always generated by the same physical clock. This timestamp type was added for OPC UA to cover the use case to get the timestamp of the last value change which is different than the server timestamp definition.

The server timestamp is used to reflect the time that the server received a Variable value or knew it to be accurate if the changes are reported by exception and the connection to the data source is operating. This is the behavior expected by Classic OPC.

Enumerator
UA_TIMESTAMPSTORETURN_SOURCE 

Return the source timestamp.

UA_TIMESTAMPSTORETURN_SERVER 

Return the Server timestamp.

UA_TIMESTAMPSTORETURN_BOTH 

Return both the source and Server timestamps.

UA_TIMESTAMPSTORETURN_NEITHER 

Return neither timestamp.

This is the default value for MonitoredItems if a Variable value is not being accessed.

For HistoryRead this is not a valid setting.