pointer referencing this object

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

Moderator: uasdkc

Post Reply
lussoluk1
Jr. Member
Jr. Member
Posts: 1
Joined: 17 Nov 2015, 09:48

pointer referencing this object

Post by lussoluk1 »

hi,
I need to use functions of the UaServerBaseNode module and the most of them require OpcUa_Void *pObj as input variable.
How can I get this value when I have only the NodeId of Object?

Thanks is advance for every answer.

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

Re: pointer referencing this object

Post by Support Team »

Hello,

Please have a look at the documentation at http://documentation.unified-automation ... d2_step02b

There we describe how to create Nodes and how to modify their properties using the BaseNode functions. The first argument to those functions is the Node, which is a 'subtype' of OpcUa_BaseNode (e.g. OpcUa_Variable). See also http://documentation.unified-automation ... rphism_sec for information about the ANSI C Polymorphism.

Best regards
Support Team

Post Reply