Access address space in OPC-UA server

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

Moderator: uasdkcpp

Post Reply
yvesP
Sr. Member
Sr. Member
Posts: 15
Joined: 13 Feb 2017, 14:15

Access address space in OPC-UA server

Post by yvesP »

Hi,
I need to lookup a UaNode in the address space on the Server side when executing a method call. Looks like I can only add nodes to the NodeManagerConfig object, which I can retrieve from the this object(UaModeler generated UaNode). Is there any way to be able to retrieve nodes on the server side?

Kind regards.
Yves

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

Re: Access address space in OPC-UA server

Post by Support Team »

Hello Yves,

if you use the Toolkit classes (generated by UaModeler) you can use findNode() see:
http://documentation.unified-automation ... 0d8fc56c44
Best regards
Unified Automation Support Team

yvesP
Sr. Member
Sr. Member
Posts: 15
Joined: 13 Feb 2017, 14:15

Re: Access address space in OPC-UA server

Post by yvesP »

Hi,
surely I must be overlooking things, but how do I get a hold of the NodeManagerUaNode in the method of a generated? Can't seem to get it from any of the baseclasses of the generated object or the ServiceContext, which is past in the method call.
Thanks.
Yves

Post Reply