Skip to content
Discussion options

You must be logged in to vote
import opcua

uri = "opc.tcp://127.0.0.1:4840"
client = opcua.Client(uri)
nodeids = ["ns=0;i=2256", "ns=0;i=2267"]
node_list = []
for nodeid in nodeids:
    node_list.append(client.get_node(nodeid))
client.get_values(node_list)

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by Statkern15
Comment options

You must be logged in to vote
3 replies
@AndreasHeine
Comment options

@Statkern15
Comment options

@AndreasHeine
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants