Need help with readRaw and HistoryManager

Questions regarding the use of the C++ SDK for Server or Client development or integration into customer products ...

Moderator: uasdkcpp

Post Reply
Aggame
Jr. Member
Jr. Member
Posts: 1
Joined: 19 Sep 2023, 04:47

Need help with readRaw and HistoryManager

Post by Aggame »

Hi,
I try to make an server app. which can accept read of historical data.
Those data are already saved in like another DataBase, which the server can read-access.
no problem reading real-time Value,statusCode all timestamps.
I've added the HistoryRead (User)AccesLevel to the Node. Implemented a readRaw, and HistoryManager....

At this moment I just make some fake historical data. Sending back from within readRaw.
I've manage to get feedback, that is when Client (UaExpert(HistoryTrendView)) ask for some historical data, the server app is react in the readRaw func.
but I always receive ex:

"HistoryReadRawModified succeeded"
"HistoryReadDataResults of node 'NS2|Numeric|100014' contains 11 values"
"The type of the history values of node 'NS2|Numeric|100014' can not be displayed"

And yes it say "succeeded" and contains 11 values (which is as expected) BUT then
"The type of the history values of node 'NS2|Numeric|100014' can not be displayed"

So any idea's what is it that i'm missing

Thanks in advance

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

Re: Need help with readRaw and HistoryManager

Post by Support Team »

Hello Aggame,

what is the DataType of the values you sent back in the HistoryReadResponse? UaExpert does only show numerical values in the TrendView.
Best regards
Unified Automation Support Team

Post Reply