QOpcUaAttributeOperand#

The OPC UA AttributeOperand type. More

Synopsis#

Functions#

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#

The AttributeOperand is defined in OPC-UA part 4, 7.4.4.4. It has the same purpose as QOpcUaSimpleAttributeOperand but has more configurable options.

class PySide6.QtOpcUa.QOpcUaAttributeOperand#

PySide6.QtOpcUa.QOpcUaAttributeOperand(arg__1)

Parameters:

arg__1PySide6.QtOpcUa.QOpcUaAttributeOperand

Default constructs an attribute operand with no parameters set.

Constructs an attribute operand from rhs.

PySide6.QtOpcUa.QOpcUaAttributeOperand.alias()#
Return type:

str

Returns the alias for this QAttributeOperand.

See also

setAlias()

PySide6.QtOpcUa.QOpcUaAttributeOperand.attributeId()#
Return type:

NodeAttribute

Returns the attribute id for an attribute of the node browsePath is pointing to.

See also

setAttributeId()

PySide6.QtOpcUa.QOpcUaAttributeOperand.browsePath()#
Return type:

.list of QOpcUaRelativePathElement

Returns the browse path.

See also

setBrowsePath()

PySide6.QtOpcUa.QOpcUaAttributeOperand.browsePathRef()#
Return type:

.list of QOpcUaRelativePathElement

Returns a reference to the browse path.

See also

browsePath()

PySide6.QtOpcUa.QOpcUaAttributeOperand.indexRange()#
Return type:

str

Returns the index range string.

See also

setIndexRange()

PySide6.QtOpcUa.QOpcUaAttributeOperand.nodeId()#
Return type:

str

Returns the node id of the type definition node.

See also

setNodeId()

PySide6.QtOpcUa.QOpcUaAttributeOperand.setAlias(alias)#
Parameters:

alias – str

Sets the alias to alias. This allows using this instance as operand for other operations in the filter.

See also

alias()

PySide6.QtOpcUa.QOpcUaAttributeOperand.setAttributeId(attributeId)#
Parameters:

attributeIdNodeAttribute

Sets the attribute id to attributeId.

See also

attributeId()

PySide6.QtOpcUa.QOpcUaAttributeOperand.setBrowsePath(browsePath)#
Parameters:

browsePath – .list of QOpcUaRelativePathElement

Sets the relative path to a node starting from nodeId() to browsePath.

See also

browsePath()

PySide6.QtOpcUa.QOpcUaAttributeOperand.setIndexRange(indexRange)#
Parameters:

indexRange – str

Sets the index range string used to identify a single value or subset of the attribute’s value to indexRange.

See also

indexRange()

PySide6.QtOpcUa.QOpcUaAttributeOperand.setNodeId(nodeId)#
Parameters:

nodeId – str

Sets the node id of the type definition node to nodeId.

See also

nodeId()