Global methods: nodes¶
Introduction
The following global methods make it possible to create or remove objects and variables at runtime.in the information model at runtime.
CreateObject method
Function: creates a new object.
Input arguments
Argument | Description |
---|---|
BrowseName | Name of the object |
ObjectType | Type of object |
ParentNode | Parent node of the object to be created |
ReferenceType | Reserved for future use |
Output arguments
Argument | Description |
---|---|
CreatedNodeId | NodeId attribute assigned at runtime |
CreateVariable method
Function: creates a new variable.
Input arguments
Argument | Description |
---|---|
BrowseName | Variable name |
RequestedNodeId | Reserved for future use |
VariableType | Type of variable |
ParentNode | Parent node of the variable to be created |
ReferenceType | Reserved for future use |
DeleteNode method
Function: deletes the indicated node.
Input arguments
Argument | Description |
---|---|
Node | Node to be deleted |