code snippet for asynchronous execution
Posted: 17 Nov 2014, 13:02
Hi,
currently we are evaluating your SDK for a global integration project. The handling of asynchronous tasks is crucial for us.
Could you please provide a code example of how to let a client create a node of program type on a server, let the program be executed on the server and then get notified asynchronously after the execution is finished?
In the OPC spec I read about commands and programs. As far as I understand, for longer lasting tasks, a program would be the correct way to handle things asynchronously. In the SDK I found your interfaces UaCallable as well as UaMethod. But how are they intended to be applied? Could you please give me some short examples in code to clarify this?
Thanks in advance,
Helge
currently we are evaluating your SDK for a global integration project. The handling of asynchronous tasks is crucial for us.
Could you please provide a code example of how to let a client create a node of program type on a server, let the program be executed on the server and then get notified asynchronously after the execution is finished?
In the OPC spec I read about commands and programs. As far as I understand, for longer lasting tasks, a program would be the correct way to handle things asynchronously. In the SDK I found your interfaces UaCallable as well as UaMethod. But how are they intended to be applied? Could you please give me some short examples in code to clarify this?
Thanks in advance,
Helge