QOpcUaArgument#

The OPC UA Argument type. More

Inheritance diagram of PySide6.QtOpcUa.QOpcUaArgument

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#

This is the Qt OPC UA representation for the Argument type defined in OPC-UA part 3, 8.6.

The Argument type is mainly used for the values of the InputArguments and OutputArguments properties which describe the parameters and return values of method nodes.

class PySide6.QtOpcUa.QOpcUaArgument#

PySide6.QtOpcUa.QOpcUaArgument(rhs)

PySide6.QtOpcUa.QOpcUaArgument(name, dataTypeId, valueRank, arrayDimensions, description)

Parameters:

Constructs an argument with name name, data type id dataTypeId, value rank valueRank, array dimensions arrayDimensions and description description.

PySide6.QtOpcUa.QOpcUaArgument.arrayDimensions()#

Returns the array dimensions of the argument.

The array dimensions describe the length of each array dimension.

PySide6.QtOpcUa.QOpcUaArgument.arrayDimensionsRef()#

Returns a reference to the array dimensions of the argument.

PySide6.QtOpcUa.QOpcUaArgument.dataTypeId()#
Return type:

str

Returns the data type node id of the argument.

See also

setDataTypeId()

PySide6.QtOpcUa.QOpcUaArgument.description()#
Return type:

PySide6.QtOpcUa.QOpcUaLocalizedText

Returns the description of the argument.

See also

setDescription()

PySide6.QtOpcUa.QOpcUaArgument.name()#
Return type:

str

Returns the name of the argument.

See also

setName()

PySide6.QtOpcUa.QOpcUaArgument.__eq__(other)#
Parameters:

otherPySide6.QtOpcUa.QOpcUaArgument

Return type:

bool

Returns true if this argument has the same value as other.

PySide6.QtOpcUa.QOpcUaArgument.setArrayDimensions(arrayDimensions)#
Parameters:

arrayDimensions

Sets the array dimensions of the argument to arrayDimensions.

PySide6.QtOpcUa.QOpcUaArgument.setDataTypeId(dataTypeId)#
Parameters:

dataTypeId – str

Sets the data type node id of the argument to dataTypeId.

See also

dataTypeId()

PySide6.QtOpcUa.QOpcUaArgument.setDescription(description)#
Parameters:

descriptionPySide6.QtOpcUa.QOpcUaLocalizedText

Sets the description of the argument to description.

See also

description()

PySide6.QtOpcUa.QOpcUaArgument.setName(name)#
Parameters:

name – str

Sets the name of the argument to name.

See also

name()

PySide6.QtOpcUa.QOpcUaArgument.setValueRank(valueRank)#
Parameters:

valueRankqint32

Sets the value rank of the argument to valueRank.

See also

valueRank()

PySide6.QtOpcUa.QOpcUaArgument.valueRank()#
Return type:

qint32

Returns the value rank of the argument. The value rank describes the structure of the value.

ValueRank

Meaning

-3

Scalar or one dimensional array

-2

Scalar or array with any number of dimensions

-1

Not an array

0

Array with one or more dimensions

1

One dimensional array

>1

Array with n dimensions

See also

setValueRank()