Dear Support Team,
The documentation at lesson 3 provides an example to poll / sample data from underlying device/service. Can you provide an example / code snippet for integrating with an underlying services which can provide event based data on change in values in underlying system.
Thanks
Suresh Jangra
Event based data updates C++ server sdk
Moderator: uasdkcpp
- Support Team
- Hero Member
- Posts: 3070
- Joined: 18 Mar 2011, 15:09
Re: Event based data updates C++ server sdk
Dear Suresh,
The default is event based.
If you do not change the value handling, you just need to provide the initial value when you create the node and call UaVariable::setValue() on the variable node that has a value change and everything else is handled by the SDK.
This is done for example in NodeManagerDemo::run() for the simulated values in the demo tree.
The default is event based.
If you do not change the value handling, you just need to provide the initial value when you create the node and call UaVariable::setValue() on the variable node that has a value change and everything else is handled by the SDK.
This is done for example in NodeManagerDemo::run() for the simulated values in the demo tree.
Best regards
Unified Automation Support Team
Unified Automation Support Team