UaNodeClass

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

Moderator: uasdkc

Post Reply
cacamille3
Hero Member
Hero Member
Posts: 73
Joined: 15 Feb 2012, 21:43

UaNodeClass

Post by cacamille3 »

I do not understand how you can know about the nodeclass of a node
Where are you storing this information because there is no field NodeClass in BaseNode_Internal....

Regards.

CG.

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

Re:UaNodeClass

Post by Support Team »

Hello,

the NodeClass is retrieved with the 'fctGetType' function pointer in the node's OpcUa_BaseNodeVTable.

Best regards
Unified Automation Support Team
Best regards
Unified Automation Support Team

cacamille3
Hero Member
Hero Member
Posts: 73
Joined: 15 Feb 2012, 21:43

Re:UaNodeClass

Post by cacamille3 »

Ah ok.
Didn't see it...
And what is the difference between fctGetType and fctGetClass ?

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

Re:UaNodeClass

Post by Support Team »

Hello,

actually, the NodeClass is of course retrieved with the 'fctGetClass' function pointer, unlike stated above. The 'fctGetType' is used internally and should not be needed outside of the SDK.

Best Regards,
Unified Automation Support Team
Best regards
Unified Automation Support Team

Post Reply