class QOpcUaAxisInformation

The OPC UA AxisInformation type. More

Synopsis

Methods

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 1.05 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.

__init__()

Default constructs an axis information with no parameters set.

__init__(arg__1)
Parameters:

arg__1QOpcUaAxisInformation

Constructs axis information from rhs.

__init__(engineeringUnits, eURange, title, axisScaleType, axisSteps)
Parameters:

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

axisScaleType()
Return type:

AxisScale

Returns the scaling of this axis, defined by AxisScale .

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()

axisStepsRef()
Return type:

.list of double

Returns a reference to the axis steps.

eURange()
Return type:

QOpcUaRange

Returns the lower and upper values of this axis.

See also

setEURange()

engineeringUnits()
Return type:

QOpcUaEUInformation

Returns the engineering units of this axis.

__eq__(rhs)
Parameters:

rhsQOpcUaAxisInformation

Return type:

bool

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

setAxisScaleType(axisScaleType)
Parameters:

axisScaleTypeAxisScale

Sets the axis scale type to axisScaleType.

See also

axisScaleType()

setAxisSteps(axisSteps)
Parameters:

axisSteps – .list of double

Sets the axis steps to axisSteps.

See also

axisSteps()

setEURange(eURange)
Parameters:

eURangeQOpcUaRange

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

See also

eURange()

setEngineeringUnits(engineeringUnits)
Parameters:

engineeringUnitsQOpcUaEUInformation

Sets the engineering units to engineeringUnits.

setTitle(title)
Parameters:

titleQOpcUaLocalizedText

Sets the title to title.

See also

title()

title()
Return type:

QOpcUaLocalizedText

Returns the title of this axis.

See also

setTitle()