Unique BrowseName and DisplayName in OPCUA

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

Moderator: uasdknet

Post Reply
sudhapc
Hero Member
Hero Member
Posts: 20
Joined: 16 Oct 2018, 12:47

Unique BrowseName and DisplayName in OPCUA

Post 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?

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

Re: Unique BrowseName and DisplayName in OPCUA

Post 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.
Best regards
Unified Automation Support Team

Post Reply