Commit 0779615a authored by Ivan Tyagov's avatar Ivan Tyagov

Not needed.

parent f5ddad38
"""
Simple OPC UA client.
"""
from opcua import Client
url = "opc.tcp://localhost:4840"
client = Client(url)
client.connect()
print("Client connected.")
while 1:
Temp = Temp.get_node("ns=2;i=3") # XXX: get from OPC UA server
temperature = Temp.get_value()
print(temperature)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment