Adding nodes to server diagnostic namespace

Questions regarding the use of UaModeler

Moderator: uamodeler

Post Reply
node.dave
Sr. Member
Sr. Member
Posts: 10
Joined: 24 Feb 2023, 21:27

Adding nodes to server diagnostic namespace

Post by node.dave »

I need to add some server-specific diagnostic information to Server.VendorServerInfo; the appropriate namespace for such nodes would be at index 1 in a running server, as I understand it. Is there a way to create such nodes in UaModeler, or do these nodes need to be dynamically created when the server starts up?

In my C# based test server, I see that the Unified Automation toolkit populates a pair of license information nodes in that namespace (ns=1;s=SdkLicenseOwner and ns=1;s=SdkLicenseStatus), I'm just looking to extend that same namespace with some nodes of my own.

Am I missing something obvious in UaModeler?

Thanks,
Dave

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

Re: Adding nodes to server diagnostic namespace

Post by Support Team »

Hello Dave,

Normally nodes are added to the server namespace in code. Loading NodeSet2 XML files is quite complicated because the NamespaceUri used in the XML file must be the NamespaceUri of the server which unknown at design / compile time.
Best regards
Unified Automation Support Team

node.dave
Sr. Member
Sr. Member
Posts: 10
Joined: 24 Feb 2023, 21:27

Re: Adding nodes to server diagnostic namespace

Post by node.dave »

I can work with that. Thank you for the quick response!

Post Reply