Object Node
OPC-UA Object Node implementation. Derived from Node
.
Functions
ObjectNode.newFolder(node_name, namespace, parent_node)
Creates a new folder type ObjectNode
instance
Params
- node_name
string
- Name of the new node
-
namespace
number
- Namespace of the new node
Note
If not using default namespaces, then the namespace must be created with
Server.addNamespace()
-
parent_node
NodeId
- The NodeId of the parent node
Returns: ObjectNode
new instance
ObjectNode.newRootFolder(node_name, namespace)
Creates a new folder type ObjectNode
instance with the Objects folder Node as the parent
Params
- node_name
-
string
- Name of the new node
-
namespace
number
- Namespace of the new node
Note
If not using default namespaces, then the namespace must be created with
Server.addNamespace()
Returns: ObjectNode
new instance
Methods
ObjectNode:setEventNotifier(is_event_notifier)
Enables the object node to produce Events
Params
- is_event_notifier
boolean
- true to enable