Classes | |
class | SubHandler |
Functions | |
def | embed |
Variables | |
tuple | client = Client("opc.tcp://localhost:4840/freeopcua/server/") |
tuple | handle = sub.subscribe_data_change(myvar) |
tuple | handler = SubHandler() |
tuple | myvar = root.get_child(["0:Objects", "2:MyObject", "2:MyVariable"]) |
tuple | obj = root.get_child(["0:Objects", "2:MyObject"]) |
tuple | objects = client.get_objects_node() |
tuple | res = obj.call_method("2:multiply", 3, "klk") |
tuple | root = client.get_root_node() |
tuple | sub = client.create_subscription(500, handler) |
def client-example.embed | ( | ) |
Definition at line 11 of file client-example.py.
tuple client-example::client = Client("opc.tcp://localhost:4840/freeopcua/server/") |
Definition at line 43 of file client-example.py.
Definition at line 74 of file client-example.py.
tuple client-example::handler = SubHandler() |
Definition at line 72 of file client-example.py.
tuple client-example::myvar = root.get_child(["0:Objects", "2:MyObject", "2:MyVariable"]) |
Definition at line 67 of file client-example.py.
tuple client-example::obj = root.get_child(["0:Objects", "2:MyObject"]) |
Definition at line 68 of file client-example.py.
tuple client-example::objects = client.get_objects_node() |
Definition at line 51 of file client-example.py.
tuple client-example::res = obj.call_method("2:multiply", 3, "klk") |
Definition at line 83 of file client-example.py.
tuple client-example::root = client.get_root_node() |
Definition at line 49 of file client-example.py.
Definition at line 73 of file client-example.py.