Variables
server-instantiate-object Namespace Reference

Variables

 ctrl = dev.add_object(0, "controller")
 
 dev = server.nodes.base_object_type.add_object_type(0, "MyDevice")
 
 idx = server.register_namespace(uri)
 
 mydevice = instantiate(server.nodes.objects, dev, bname="2:Device0001")
 
 mydevice_var = mydevice.get_child(["0:controller", "0:state"])
 
 server = Server()
 
string uri = "http://examples.freeopcua.github.io"
 

Variable Documentation

server-instantiate-object.ctrl = dev.add_object(0, "controller")

Definition at line 24 of file server-instantiate-object.py.

server-instantiate-object.dev = server.nodes.base_object_type.add_object_type(0, "MyDevice")

Definition at line 21 of file server-instantiate-object.py.

server-instantiate-object.idx = server.register_namespace(uri)

Definition at line 18 of file server-instantiate-object.py.

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

Definition at line 28 of file server-instantiate-object.py.

server-instantiate-object.mydevice_var = mydevice.get_child(["0:controller", "0:state"])

Definition at line 30 of file server-instantiate-object.py.

server-instantiate-object.server = Server()

Definition at line 13 of file server-instantiate-object.py.

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

Definition at line 17 of file server-instantiate-object.py.



ros_opcua_impl_python_opcua
Author(s): Denis Štogl , Daniel Draper
autogenerated on Tue Jan 19 2021 03:12:45