Variables
server-xmlexporter Namespace Reference

Variables

tuple dev = server.nodes.base_object_type.add_object_type(0, "MyDevice")
tuple exporter = XmlExporter(server)
tuple idx = server.register_namespace(uri)
tuple mydevice = instantiate(server.nodes.objects, dev, bname="2:Device0001")
tuple myobj = objects.add_object(idx, "MyObject")
tuple myvar = myobj.add_variable(idx, "MyVariable", 6.7)
list node_list = [dev, mydevice, myobj, myvar]
tuple objects = server.get_objects_node()
tuple server = Server()
string uri = "http://examples.freeopcua.github.io"

Variable Documentation

tuple server-xmlexporter::dev = server.nodes.base_object_type.add_object_type(0, "MyDevice")

Definition at line 28 of file server-xmlexporter.py.

tuple server-xmlexporter::exporter = XmlExporter(server)

Definition at line 38 of file server-xmlexporter.py.

tuple server-xmlexporter::idx = server.register_namespace(uri)

Definition at line 18 of file server-xmlexporter.py.

tuple server-xmlexporter::mydevice = instantiate(server.nodes.objects, dev, bname="2:Device0001")

Definition at line 31 of file server-xmlexporter.py.

tuple server-xmlexporter::myobj = objects.add_object(idx, "MyObject")

Definition at line 24 of file server-xmlexporter.py.

tuple server-xmlexporter::myvar = myobj.add_variable(idx, "MyVariable", 6.7)

Definition at line 25 of file server-xmlexporter.py.

list server-xmlexporter::node_list = [dev, mydevice, myobj, myvar]

Definition at line 33 of file server-xmlexporter.py.

tuple server-xmlexporter::objects = server.get_objects_node()

Definition at line 21 of file server-xmlexporter.py.

tuple server-xmlexporter::server = Server()

Definition at line 13 of file server-xmlexporter.py.

string server-xmlexporter::uri = "http://examples.freeopcua.github.io"

Definition at line 17 of file server-xmlexporter.py.



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