Calling method of another instance from inside opc server

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

Moderator: uasdkcpp

Post Reply
JureL
Jr. Member
Jr. Member
Posts: 3
Joined: 13 Aug 2019, 16:33

Calling method of another instance from inside opc server

Post by JureL »

On OPC server I have two ua objects, Object1 with method1() and Object2 with method2().

When OPC client calls Object1.method1(), this method should then call Object2.method2().

The problem is I don't know how to get a reference to Object2 from inside Object1 to call method2().
Also method2() is not a ua method node. It is an ordinary public method.

So my question is, how do I proceed? Is there a mechanism to access methods of other objects?

Post Reply