Functions | |
def | _add_childs |
def | _create_method |
def | _create_object |
def | _create_object_type |
def | _create_variable |
def | _create_variable_type |
def | _guess_datatype |
def | _parse_nodeid_qname |
def | _vtype_to_argument |
def | create_data_type |
def | create_folder |
def | create_method |
def | create_object |
def | create_object_type |
def | create_property |
def | create_reference_type |
def | create_variable |
def | create_variable_type |
def | delete_nodes |
High level functions to create nodes
def opcua.common.manage_nodes._add_childs | ( | nodes | ) | [private] |
Definition at line 402 of file manage_nodes.py.
def opcua.common.manage_nodes._create_method | ( | parent, | |
nodeid, | |||
qname, | |||
callback, | |||
inputs, | |||
outputs | |||
) | [private] |
Definition at line 320 of file manage_nodes.py.
def opcua.common.manage_nodes._create_object | ( | server, | |
parentnodeid, | |||
nodeid, | |||
qname, | |||
objecttype | |||
) | [private] |
Definition at line 176 of file manage_nodes.py.
def opcua.common.manage_nodes._create_object_type | ( | server, | |
parentnodeid, | |||
nodeid, | |||
qname | |||
) | [private] |
Definition at line 203 of file manage_nodes.py.
def opcua.common.manage_nodes._create_variable | ( | server, | |
parentnodeid, | |||
nodeid, | |||
qname, | |||
var, | |||
datatype = None , |
|||
isproperty = False |
|||
) | [private] |
Definition at line 222 of file manage_nodes.py.
def opcua.common.manage_nodes._create_variable_type | ( | server, | |
parentnodeid, | |||
nodeid, | |||
qname, | |||
datatype, | |||
value = None |
|||
) | [private] |
Definition at line 260 of file manage_nodes.py.
def opcua.common.manage_nodes._guess_datatype | ( | variant | ) | [private] |
Definition at line 368 of file manage_nodes.py.
def opcua.common.manage_nodes._parse_nodeid_qname | ( | args | ) | [private] |
Definition at line 9 of file manage_nodes.py.
def opcua.common.manage_nodes._vtype_to_argument | ( | vtype | ) | [private] |
Definition at line 357 of file manage_nodes.py.
def opcua.common.manage_nodes.create_data_type | ( | parent, | |
nodeid, | |||
bname, | |||
description = None |
|||
) |
Create a new data type to be used in new variables, etc .. arguments are nodeid, browsename or namespace index, name
Definition at line 290 of file manage_nodes.py.
def opcua.common.manage_nodes.create_folder | ( | parent, | |
nodeid, | |||
bname | |||
) |
create a child node folder arguments are nodeid, browsename or namespace index, name
Definition at line 34 of file manage_nodes.py.
def opcua.common.manage_nodes.create_method | ( | parent, | |
args | |||
) |
create a child method object This is only possible on server side!! args are nodeid, browsename, method_to_be_called, [input argument types], [output argument types] or idx, name, method_to_be_called, [input argument types], [output argument types] if argument types is specified, child nodes advertising what arguments the method uses and returns will be created a callback is a method accepting the nodeid of the parent as first argument and variants after. returns a list of variants
Definition at line 154 of file manage_nodes.py.
def opcua.common.manage_nodes.create_object | ( | parent, | |
nodeid, | |||
bname, | |||
objecttype = None |
|||
) |
create a child node object arguments are nodeid, browsename, [objecttype] or namespace index, name, [objecttype] if objectype is given (a NodeId) then the type node is instantiated inclusive its child nodes
Definition at line 44 of file manage_nodes.py.
def opcua.common.manage_nodes.create_object_type | ( | parent, | |
nodeid, | |||
bname | |||
) |
Create a new object type to be instanciated in address space. arguments are nodeid, browsename or namespace index, name
Definition at line 144 of file manage_nodes.py.
def opcua.common.manage_nodes.create_property | ( | parent, | |
nodeid, | |||
bname, | |||
val, | |||
varianttype = None , |
|||
datatype = None |
|||
) |
create a child node property args are nodeid, browsename, value, [variant type] or idx, name, value, [variant type]
Definition at line 60 of file manage_nodes.py.
def opcua.common.manage_nodes.create_reference_type | ( | parent, | |
nodeid, | |||
bname | |||
) |
Create a new reference type args are nodeid and browsename or idx and name
Definition at line 119 of file manage_nodes.py.
def opcua.common.manage_nodes.create_variable | ( | parent, | |
nodeid, | |||
bname, | |||
val, | |||
varianttype = None , |
|||
datatype = None |
|||
) |
create a child node variable args are nodeid, browsename, value, [variant type], [data type] or idx, name, value, [variant type], [data type]
Definition at line 75 of file manage_nodes.py.
def opcua.common.manage_nodes.create_variable_type | ( | parent, | |
nodeid, | |||
bname, | |||
datatype | |||
) |
Create a new variable type args are nodeid, browsename and datatype or idx, name and data type
Definition at line 91 of file manage_nodes.py.
def opcua.common.manage_nodes.delete_nodes | ( | server, | |
nodes, | |||
recursive = False |
|||
) |
Delete specified nodes. Optionally delete recursively all nodes with a downward hierachic references to the node
Definition at line 384 of file manage_nodes.py.