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 NodeId format is Acceptable?

More
01 Nov 2024 11:34 #13255 by support
Hello.
Node Ids, as such, are defined by the OPC UA server, and QuickOPC does not care. You will find the node Ids either by browsing the server itself, or from its documentation.

In OPC UA, the node Id consists of a namespace (given by index or URI), and the "identifier". The identifier can be a string, integer, GUID, or opaque.

Your It is not clear whether your examples are actually node Ids. They look more like browse paths, which is a different concept. In addition, even if they were node Ids, the namespace is missing.

Which OPC Server are you using?
Suggestion: Run our Connectivity Explorer, browse the server, and when you select a node, it will show you its node Id.

More reading:
- opclabs.doc-that.com/files/onlinedocs/OPCLabs-OpcStudio/Late...tml#OPC%20UA%20Node%20IDs.html
- opclabs.doc-that.com/files/onlinedocs/OPCLabs-OpcStudio/Late...indices%20in%20Node%20Ids.html

I hope this helps. Feel free to ask if more is needed.

Best regards

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

More
31 Oct 2024 20:25 #13253 by Cwardltu
I am currently trying to read to a OPC value I have notice in a few examples do not work

If i am using this format "2:Data Type Examples/2:8 Bit Device/2:K Registers/2:Byte2" for the variable identifier I get BadNodeIdUnknown

If i am using this format "2:Data Type Examples.2:8 Bit Device.2:Registers.2:Byte2" for the variable identifier I get BadNodeIdUnknown

If I am using a format like this "Data Type Examples.8 Bit Device.K Registers.Byte2" the read works as intended

opcClient.Read(Endpoint, identifier);


what is the correct format? is there official documentation on what format this read method accepts?

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

Moderators: support
Time to create page: 0.042 seconds