Represents an OPCUA node ID node. More...
Inherits object.
Public Member Functions | |
cvb.opcua.NodeID | create (int namespace_index, Union[int, str] identifier) |
Creates an OPCUA node ID based on the given namespace and identifier. More... | |
cvb.opcua.NodeID | create_namespace0 (int namespace0_node_id) |
Creates an OPCUA node ID based on a pre-defined namespace 0 value. More... | |
Properties | |
identifier = property | |
Union[str, int]: Gets the identifier. More... | |
namespace_index = property | |
int: Gets the namespace index. More... | |
type = property | |
int: Gets the type of this node ID (see cvb.opcua.NodeIDType). | |
Represents an OPCUA node ID node.
It provides a unique identifier that can be tagged with an OPCUA node, i.e. they can help with node creation, addition to servers, retrieving from servers etc. OPCUA node IDs are available for various types.
cvb.opcua.NodeID create | ( | int | namespace_index, |
Union[int, str] | identifier | ||
) |
Creates an OPCUA node ID based on the given namespace and identifier.
namespace_index : int Index of the desired namespace.
identifier : Union[int, str] An identifier as a source.
cvb.opcua.NodeID The node ID object.
cvb.opcua.NodeID create_namespace0 | ( | int | namespace0_node_id | ) |
Creates an OPCUA node ID based on a pre-defined namespace 0 value.
In contrast to the NodeID.create method, this version creates a node ID in a pre-defined namespace.
namespace0_node_id : int Namespace0 node ID (see cvb.opcua.Namespace0NodeID).
cvb.opcua.NodeID The node ID object.
|
static |
Union[str, int]: Gets the identifier.
For determining its type, read a value by calling cvb.opcua.NodeID.type.
|
static |
int: Gets the namespace index.
A namespace index is an index which this node ID is associated with.