QOpcUaAxisInformation#

The OPC UA AxisInformation 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#

This is the Qt OPC UA representation for the OPC UA AxisInformation type defined in OPC-UA part 8, 5.6.6. It contains information about an axis which can be used for multiple purposes. A common use case could involve the plotting of display data. The engineering units and the title are used for the text on the plot, range, axisScaleType and axisSteps provide the scaling and the axis ranges of the plot.

class PySide6.QtOpcUa.QOpcUaAxisInformation#

PySide6.QtOpcUa.QOpcUaAxisInformation(arg__1)

PySide6.QtOpcUa.QOpcUaAxisInformation(engineeringUnits, eURange, title, axisScaleType, axisSteps)

Parameters:

Default constructs an axis information with no parameters set.

Constructs axis information from rhs.

Constructs axis information with engineering units engineeringUnits, range eURange, title title, scaling axisScaleType and axis steps axisSteps.

PySide6.QtOpcUa.QOpcUaAxisInformation.axisScaleType()#
Return type:

AxisScale

Returns the scaling of this axis, defined by AxisScale .

PySide6.QtOpcUa.QOpcUaAxisInformation.axisSteps()#
Return type:

.list of double

Returns specific values for each axis step.

This value is empty if the points are equally distributed and the step size can be calculated from the number of steps and the range. If the steps are different for each point but constant over a longer time, there is an entry for each data point.

See also

setAxisSteps()

PySide6.QtOpcUa.QOpcUaAxisInformation.axisStepsRef()#
Return type:

.list of double

Returns a reference to the axis steps.

PySide6.QtOpcUa.QOpcUaAxisInformation.eURange()#
Return type:

PySide6.QtOpcUa.QOpcUaRange

Returns the lower and upper values of this axis.

See also

setEURange()

PySide6.QtOpcUa.QOpcUaAxisInformation.engineeringUnits()#
Return type:

PySide6.QtOpcUa.QOpcUaEUInformation

Returns the engineering units of this axis.

PySide6.QtOpcUa.QOpcUaAxisInformation.__eq__(rhs)#
Parameters:

rhsPySide6.QtOpcUa.QOpcUaAxisInformation

Return type:

bool

Returns true if this axis information has the same value as rhs.

PySide6.QtOpcUa.QOpcUaAxisInformation.setAxisScaleType(axisScaleType)#
Parameters:

axisScaleTypeAxisScale

Sets the axis scale type to axisScaleType.

See also

axisScaleType()

PySide6.QtOpcUa.QOpcUaAxisInformation.setAxisSteps(axisSteps)#
Parameters:

axisSteps – .list of double

Sets the axis steps to axisSteps.

See also

axisSteps()

PySide6.QtOpcUa.QOpcUaAxisInformation.setEURange(eURange)#
Parameters:

eURangePySide6.QtOpcUa.QOpcUaRange

Sets the lower and upper values of this axis to eURange.

See also

eURange()

PySide6.QtOpcUa.QOpcUaAxisInformation.setEngineeringUnits(engineeringUnits)#
Parameters:

engineeringUnitsPySide6.QtOpcUa.QOpcUaEUInformation

Sets the engineering units to engineeringUnits.

PySide6.QtOpcUa.QOpcUaAxisInformation.setTitle(title)#
Parameters:

titlePySide6.QtOpcUa.QOpcUaLocalizedText

Sets the title to title.

See also

title()

PySide6.QtOpcUa.QOpcUaAxisInformation.title()#
Return type:

PySide6.QtOpcUa.QOpcUaLocalizedText

Returns the title of this axis.

See also

setTitle()