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?
Unique BrowseName and DisplayName in OPCUA
Moderator: uasdknet
-
- Hero Member
- Posts: 28
- Joined: 16 Oct 2018, 12:47
- Support Team
- Hero Member
- Posts: 3072
- Joined: 18 Mar 2011, 15:09
Re: Unique BrowseName and DisplayName in OPCUA
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.
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
Unified Automation Support Team