Hello,
I have the string ID and namespaceindex of an object node.
I want to get the nodeID of the node.
When I Use
NodeID SearchNode=new NodeID(Convert.ToUint32(ID),NamespaceIndex);
SearchNode is null.
Please help , how to get the nodeID of the node from following information
Thanks
Milan
Genrating NodeID from ID and Namespaceindex of node
Moderator: uasdknet
-
- Sr. Member
- Posts: 13
- Joined: 12 Mar 2014, 10:50
- Support Team
- Hero Member
- Posts: 3072
- Joined: 18 Mar 2011, 15:09
Re: Genrating NodeID from ID and Namespaceindex of node
Hi Milan,
The Identifier part of a NodeId can be an integer, a string, GUID or ByteString.
If you have a string identifier you cannot convert it to an integer. You must create the NodeId with the string.
Best Regards,
Unified Automation Support Team
The Identifier part of a NodeId can be an integer, a string, GUID or ByteString.
If you have a string identifier you cannot convert it to an integer. You must create the NodeId with the string.
Best Regards,
Unified Automation Support Team