QOpcUaExpandedNodeId#
The OPC UA ExpandedNodeId. More…
Synopsis#
Functions#
def
namespaceUri()def
nodeId()def
__eq__(arg__1)def
serverIndex()def
setNamespaceUri(namespaceUri)def
setNodeId(nodeId)def
setServerIndex(serverIndex)
Note
This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE
Detailed Description#
An expanded node id is a node id where the namespace index can be given as index or as a string URI. A list of namespaces and their indices on the server is provided by namespaceArray() .
- class PySide6.QtOpcUa.QOpcUaExpandedNodeId#
PySide6.QtOpcUa.QOpcUaExpandedNodeId(arg__1)
PySide6.QtOpcUa.QOpcUaExpandedNodeId(namespaceUri, nodeId[, serverIndex=0])
PySide6.QtOpcUa.QOpcUaExpandedNodeId(nodeId)
- Parameters:
nodeId – str
serverIndex – int
arg__1 –
PySide6.QtOpcUa.QOpcUaExpandedNodeIdnamespaceUri – str
Constructs an expanded node id from rhs.
Constructs an expanded node id from namespace URI namespaceUri, node id string nodeId and server index serverIndex.
See also
Constructs an expanded node id from node id string nodeId.
- PySide6.QtOpcUa.QOpcUaExpandedNodeId.namespaceUri()#
- Return type:
str
Returns the namespace URI of the node id. If this value is specified, the namespace index in nodeId is 0 and must be ignored.
See also
- PySide6.QtOpcUa.QOpcUaExpandedNodeId.nodeId()#
- Return type:
str
Returns the node id. If namespaceUri is specified, the namespace index is invalid.
See also
- PySide6.QtOpcUa.QOpcUaExpandedNodeId.__eq__(arg__1)#
- Parameters:
arg__1 –
PySide6.QtOpcUa.QOpcUaExpandedNodeId- Return type:
bool
Returns true if this expanded node id has the same value as rhs.
- PySide6.QtOpcUa.QOpcUaExpandedNodeId.serverIndex()#
- Return type:
int
Returns the index of the server containing the node. This index maps to an entry in the server’s server table. The index of the local server is always 0. All remote servers have indexes greater than 0.
See also
- PySide6.QtOpcUa.QOpcUaExpandedNodeId.setNamespaceUri(namespaceUri)#
- Parameters:
namespaceUri – str
Sets the namespace URI to namespaceUri.
See also
- PySide6.QtOpcUa.QOpcUaExpandedNodeId.setNodeId(nodeId)#
- Parameters:
nodeId – str
Sets the node id to nodeId.
See also
- PySide6.QtOpcUa.QOpcUaExpandedNodeId.setServerIndex(serverIndex)#
- Parameters:
serverIndex – int
Sets the server index to serverIndex. The index of the local server is always 0. All remote servers have indexes greater than 0.
See also