-
Notifications
You must be signed in to change notification settings - Fork 658
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
Example of opc-ua methods with access to nodes #1551
Comments
guess your method should return a tuple instead of a list!? |
@AndreasHeine I tried writing a client for this example but still get similar errors as before.. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Goal
Create an opc-ua method that has access to the nodes. My main goal is to return a list of nodes (e..g all nodes in one folder) with one server call, instead of one for each node.
What I've tried
I found this example of opc-ua methods that does work for me:
https://github.com/ifak-prototypes/opcua_examples/tree/main/src/MethodsServerSimple
But I want to access the nodes.
Minimal non-working example
I created a minimal non-working example of a server that exposes two nodes (Node1, Node2) and a method sum().
and the client code to call the method:
and the error:
My questions
The text was updated successfully, but these errors were encountered: