OPC UA python access client.get_node with variable

Viewed 29

I have to write python client to access with a variables to a node in opc ua from a client. I mean something like:

reg_conf=150 #it's an example, but I read this value from user input
client.get_node("ns=1;i=reg_conf")

how to do this?

1 Answers
node = client.get_node("ns=1;i=reg_conf")
reg_conf = node.get_value()
Related