-
Notifications
You must be signed in to change notification settings - Fork 664
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
How to get list of all published nodes? #863
Comments
Every server publishes 1000s of nodes. You do not want to access all of them. The protocol is based on knowing what nodes you want. Ideally using domain specific profiles |
I would just browse the tree upwards starting from the root node. |
You would need to browse the tree recursively to achieve this. |
When I try with: The answer is: Am I right, that ids of my nodes are: 87,85,86? At least I use: but there is an error: "The node id refers to a node that does not exist in the server address.." Could you give me an advise or some example? I read:
|
|
I still have problems. I receive:
I copied your code:
It looks like NodeClass.Object != ua.NodeClass.Object?
to get node and later to get the value. But when I add in the code above:
I receive:
|
|
Great work, thank you :) |
mark |
@brubbel I tried your code and received the below error. Its because of the variable level/structure I guess. Any idea how to fix it?
Regards, |
You have to check the access level of the node before browsing via: |
I tried with this below function, it is still not able to read the rest of the node ids :(
Any Ideas/Suggestions, where I could read all the node IDs or pass the exceptions and read further variables? Regards, |
|
I was trying to get the complete list of variables. But it is showing some data which are not really required.
|
Hi, I'm writing Client app and I don't want to hardcode methods to get specific node with ids. I would like to ask server which nodes (variables) are published, I want to get list of each nodes.
How to make it? I was reading example from
https://github.com/FreeOpcUa/python-opcua/blob/master/examples/client-example.py
but I am not sure which methods are necessary. Can you give me tips?
The text was updated successfully, but these errors were encountered: