Login  •  Register


History Access Example

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

History Access Example

Postby manakamu » 11 Sep 2019, 09:36

I am trying to understand the Event History Access Example.
The sample has two folders (AreaAirConditioner/AreaFurance).
When the Start/Stop method of the object in each folder is executed, the event occures.
When I get Historical Events, HistoryManagerCache::readEvents() can distinguish which folder is event source because AreaAirConditioner/AreaFurance are separated into separated folder.

But how can I identify the event source if the two folders are not separated and put into a same folder?
Is it mandatory to separate folders for each event?
manakamu
Full Member
Full Member
 
Posts: 9
Joined: 13 Dec 2018, 02:08

Re: History Access Example

Postby manakamu » 11 Sep 2019, 09:41

Event History Access Example can be found at the following URL.
https://documentation.unified-automation.com/uasdkcpp/1.7.0/html/L2DemoServer.html#L3DemoServer_6
manakamu
Full Member
Full Member
 
Posts: 9
Joined: 13 Dec 2018, 02:08


Return to C++ based OPC UA SDK

Who is online

Users browsing this forum: No registered users and 2 guests