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.

BrowsePath to NodeId Retrieval

More
13 Oct 2023 06:08 #12297 by support
Hello.

I do not understand your question. If, what you want to accomplish, is somehow to specify OPC UA browse path without specifying namespaces, it is not possible. OPC UA browse path always includes namespaces. In some cases, you may not SEE the namespaces in the string representation of the browse path, because e.g. namespace zero will not be explicitly indicated; but it is still there.

Show me the code snippet with other library that accomplishes your goal, and I will see if I can then understand what you are actually doing. Which library was that? is rhere a documentation?

Regards

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

More
13 Oct 2023 01:43 #12296 by chandresekaran
Hello,

We are working on migration project from C library to C#, currently using OPC UA C Lib, we have one function (OPC_NodeIdFromBrowsePath) which converts the browsepath into nodeId, basically the browse path here represented in dot delimited e.g. Channel1.Device1.Tag1 we don't pass namespace / indexes with this name, but able to retrieve node id. what is equivalent method in OPCLabs? I see OPC UA C# as well include TranslateBrowsePathToNodeId Method does this operation where namespace identifier not required to pass, we want to accomplish same:

[string] "Channel1.Device1.TestInt" => [UANodeId] ns=2;s=Channel1.Device1.TestInt (we don't have namespace identifiers at this stage, we want to read node by browse path itself). appreciate your support on this.
Attachments:

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

Moderators: support
Time to create page: 0.043 seconds