Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get NodeID from BrowseName #216

Open
WanoKimano opened this issue Jul 16, 2021 · 1 comment
Open

Get NodeID from BrowseName #216

WanoKimano opened this issue Jul 16, 2021 · 1 comment

Comments

@WanoKimano
Copy link

Hello everyone! Sorry for my English
I am developing OPC UA Client for android.
To read node values im using NodeId (int namespace, int value) with NodeId identifier. How can i create NodeId with BrowseName?
For example:
ReadValueId(new NodeId(2, 11), Attributes.Value, null, null)); - it works
ReadValueId(new NodeId(2, "resist_leak"), Attributes.Value, null, null)) - it does'nt work

@jouniaro
Copy link
Contributor

NodeId and BrowseName are not compatible with each other. You can check TranslateBrowsePathsToNodeIds service, if that is what you are looking for.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants