Quantcast
Channel: OPC Labs - OPC Labs - Recent Topics - OPC Labs Online Forums
Viewing all articles
Browse latest Browse all 1794

BrowsePath to NodeId Retrieval - by: chandresekaran

$
0
0
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.

Viewing all articles
Browse latest Browse all 1794

Trending Articles