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.

DUE TO ADMINISTRATIVE REASONS, WE MAY NOT BE ABLE TO RESPOND (OR TO RESPOND AS QUICKLY AS USUAL) BETWEEN December 30, 2024 - January 6, 2025. WE APOLOGIZE FOR INCONVENIENCE.

Issues reading from a NodeId using special characters with the escape character

More
14 Nov 2024 09:21 #13275 by support
Hello.

Please post here the URL where the documentation tells you about such escaping. Either the documentation is wrong, or you are misinterpreting it. There is no specific escaping needed for the identifier part of the node Id.

Assuming that what you want is a node Id with namespace index 2 and a string identifier "Data Type Examples.8 Bit Device.K Registers.Boole:an4", it can be constructed like

 
new UANodeId("ns=2; s=Data Type Examples.8 Bit Device.K Registers.Boole:an4")
 

If you have the namespace index and the identifier separately already, there is no need to bother with formatting the node Id as text. Simply use

 
new UANodeId(2, "Data Type Examples.8 Bit Device.K Registers.Boole:an4")
 


Have you seen this example?:

opclabs.doc-that.com/files/onlinedocs/OPCLabs-OpcStudio/Late...%20Create%20a%20node%20ID.html

Regards

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

More
13 Nov 2024 16:25 #13274 by Cwardltu
I am getting the errors reading tag with special characters. Is this supported. According to the doc I am using the correct escape character &

Node Id = ns=2; s=Data Type Examples.8 Bit Device.K Registers.Boole&:an4

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

Moderators: support
Time to create page: 0.046 seconds