Get Start Time Query OPC UA HA

Questions regarding the use of the UaExpert.

Moderator: uaexpert

Post Reply
conterden2
Jr. Member
Jr. Member
Posts: 1
Joined: 12 Jul 2017, 03:50

Get Start Time Query OPC UA HA

Post by conterden2 »

Hello.
I`m trying to get start time in History Trend View.
OPC UA HA 1.02 A2 says:
In some cases Servers are required to return the first available data point for a historical Node; this section
recommends the way that a Client should request this information so that Servers can optimize this call, if
desired. Although there are multiple calls that could return the first data value, the recommended practice will
be to use the StartOfArchive Property. If this Property isn‟t available then use the following
ReadRawModifiedDetails parameters:
ReturnBounds=false
NumValuesPerNode=1
StartTime=DateTime.MinValue+1 second
EndTime= DateTime.MinValue
But, when i'm do query, i`m receive next ReadRawModifiedParams in my server:
ReturnBounds=false
NumValuesPerNode=1
StartTime=01.01.2000 00:00:00 != DateTime.MinValue+1 second
EndTime= 01.01.0001 00::00::00 == DateTime.Min
Is it trouble in UA Expert ?

Thank you,
Denis

User avatar
Support Team
Hero Member
Hero Member
Posts: 3069
Joined: 18 Mar 2011, 15:09

Re: Get Start Time Query OPC UA HA

Post by Support Team »

Hello Denis,

we intentionally use different values, as our opinion is that this is the simpler way of retrieving the first data point. There is an open mantis issue adressing this: https://opcfoundation-onlineapplication ... hp?id=3632
Best regards
Unified Automation Support Team

Post Reply