Classes | Variables
client_to_prosys Namespace Reference

Classes

class  SubHandler

Variables

tuple client = Client("opc.tcp://localhost:53530/OPCUA/SimulationServer/")
tuple device = objects.get_child(["2:MyObjects", "2:MyDevice"])
tuple handle = sub.subscribe_data_change(var)
tuple handler = SubHandler()
tuple method = device.get_child("2:MyMethod")
tuple mydouble = client.get_node("ns=4;s=Double")
tuple myfloat = client.get_node("ns=4;s=Float")
tuple myint32 = client.get_node("ns=4;s=Int32")
tuple myint64 = client.get_node("ns=4;s=Int64")
tuple myuint32 = client.get_node("ns=4;s=UInt32")
tuple myuint64 = client.get_node("ns=4;s=UInt64")
tuple objects = client.get_objects_node()
tuple result = device.call_method(method, ua.Variant("sin"), ua.Variant(180, ua.VariantType.Double))
tuple root = client.get_root_node()
tuple sub = client.create_subscription(500, handler)
tuple var = client.get_node(ua.NodeId("Random1", 5))

Variable Documentation

tuple client_to_prosys::client = Client("opc.tcp://localhost:53530/OPCUA/SimulationServer/")

Definition at line 26 of file client_to_prosys.py.

tuple client_to_prosys::device = objects.get_child(["2:MyObjects", "2:MyDevice"])

Definition at line 56 of file client_to_prosys.py.

tuple client_to_prosys::handle = sub.subscribe_data_change(var)

Definition at line 54 of file client_to_prosys.py.

Definition at line 52 of file client_to_prosys.py.

tuple client_to_prosys::method = device.get_child("2:MyMethod")

Definition at line 57 of file client_to_prosys.py.

tuple client_to_prosys::mydouble = client.get_node("ns=4;s=Double")

Definition at line 38 of file client_to_prosys.py.

tuple client_to_prosys::myfloat = client.get_node("ns=4;s=Float")

Definition at line 37 of file client_to_prosys.py.

tuple client_to_prosys::myint32 = client.get_node("ns=4;s=Int32")

Definition at line 41 of file client_to_prosys.py.

tuple client_to_prosys::myint64 = client.get_node("ns=4;s=Int64")

Definition at line 39 of file client_to_prosys.py.

tuple client_to_prosys::myuint32 = client.get_node("ns=4;s=UInt32")

Definition at line 42 of file client_to_prosys.py.

tuple client_to_prosys::myuint64 = client.get_node("ns=4;s=UInt64")

Definition at line 40 of file client_to_prosys.py.

tuple client_to_prosys::objects = client.get_objects_node()

Definition at line 35 of file client_to_prosys.py.

tuple client_to_prosys::result = device.call_method(method, ua.Variant("sin"), ua.Variant(180, ua.VariantType.Double))

Definition at line 58 of file client_to_prosys.py.

tuple client_to_prosys::root = client.get_root_node()

Definition at line 31 of file client_to_prosys.py.

tuple client_to_prosys::sub = client.create_subscription(500, handler)

Definition at line 53 of file client_to_prosys.py.

tuple client_to_prosys::var = client.get_node(ua.NodeId("Random1", 5))

Definition at line 44 of file client_to_prosys.py.



ros_opcua_impl_python_opcua
Author(s): Denis Štogl , Daniel Draper
autogenerated on Sat Jun 8 2019 18:26:24