opcua
opcua copied to clipboard
Reading data by Path
Hello there,
I'm currently able to use the library to read data from a nodeID like ns=1;i=8011
, but I wish to pass the path like ns=1;/Objects/My_Variable
.
If I understood correctly the lib can Browse the server but it can not TranslateBrowsePathsToNodeIds
.
I'm interested in implementing this, could you guys point me a starting point?
You should translate the browse path into nodeId first, this can be done by using the TranslateBrowsePathInNamespaceToNodeID API. examples/translate may offer some help.
Thank you very much! We've added this issue to the list of enhancements in our project.
Some team member should tackle this eventually. Hopefully soon :smile: