Page 1 of 1

Unique BrowseName and DisplayName in OPCUA

Posted: 05 Feb 2020, 06:44
by sudhapc
Hi Team

I want to create a node in OPC UA with unique browse name and unique display name.
Is there any way to find out whether there is already a node existing with the given browse name and display name before creating/updating the node?

Re: Unique BrowseName and DisplayName in OPCUA

Posted: 31 Mar 2020, 13:37
by Support Team
Hello,

There is no toolkit method to find out if a BrowseName or DisplayName is unique. However OPC UA requires that the NodeIds are unique, but it is common that different nodes have the same BrowseName or DisplayName.
Unique BrowseNames and DisplayNames are required for children of types. You can use the ServerInternalClient to browse the children of a node.
If you want to be sure that a BrowseName or DisplayName is unique within a BaseNodeManager, you can walk through the list InMemoryNodes.