Professional OPC
Development Tools

logos

Online Forums

Technical support is provided through Support Forums below. Anybody can view them; you need to Register/Login to our site (see links in upper right corner) in order to Post questions. You do not have to be a licensed user of our product.

Please read Rules for forum posts before reporting your issue or asking a question. OPC Labs team is actively monitoring the forums, and replies as soon as possible. Various technical information can also be found in our Knowledge Base. For your convenience, we have also assembled a Frequently Asked Questions page.

Do not use the Contact page for technical issues.

What is the correct NodeId?

More
24 Apr 2024 04:58 #12734 by support
Replied by support on topic What is the correct NodeId?
1. We have discussed this is length already. NONE of the formats *IS* the NodeId. None of them is good or wrong, per se. NodeId is a structure. They are both some string *representations* of the NodeId. With QuickOPC, use the one that QuickOPC has.

2.You can strip "nsu=http://opcfoundation.org/UA/" if you like, because it is the default namespace (OPC UA standard namespace, defined by OPC Foundation). You cannot strip any other namespace, though.

3. "ns=0" is the default. Therefore "ns=0;i=2259" is the same as "i=2259".

See also:
- opclabs.doc-that.com/files/onlinedocs/OPCLabs-OpcStudio/Late...indices%20in%20Node%20Ids.html
- opclabs.doc-that.com/files/onlinedocs/OPCLabs-OpcStudio/Late...tml#OPC%20UA%20Node%20IDs.html
The following user(s) said Thank You: micham

Please Log in or Create an account to join the conversation.

More
23 Apr 2024 19:40 - 23 Apr 2024 20:01 #12733 by micham
Hi,

When browsing the CPP UA Server (by Unified Automation), using UA Expert and when browsing and choosing the ServerStatus.State item,

UA Expert shows this NodeId: "NS0|Numeric|2259". See below.



When doing the same with our program that is based on the Quick OPC Browser we get the following NodeId:

ExpandedText = "nsu=http://opcfoundation.org/UA/ ;i=2259"

1. What is the correct NodeId, the one in UA Expert or in Quick OPC Browser?

2. Currently we strip the "nsu=http://opcfoundation.org/UA/ ;" from the NodeId and use this" "i=2259". Is this Okay?

3. Or should we use "ns=0;i=2259"? How can we know if it is "ns=0"? "ns=1"? etc...?

Thanks.

Michael
Attachments:
Last edit: 23 Apr 2024 20:01 by micham.

Please Log in or Create an account to join the conversation.

Moderators: support
Time to create page: 0.043 seconds