opcua icon indicating copy to clipboard operation
opcua copied to clipboard

Reading data by Path

Open pedro-ricardo opened this issue 2 years ago • 2 comments

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?

pedro-ricardo avatar Sep 28 '22 19:09 pedro-ricardo

You should translate the browse path into nodeId first, this can be done by using the TranslateBrowsePathInNamespaceToNodeID API. examples/translate may offer some help.

zskevind avatar Oct 06 '22 10:10 zskevind

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:

pedro-ricardo avatar Oct 06 '22 17:10 pedro-ricardo