QOpcUaAxisInformation#
The OPC UA AxisInformation type. More…
Synopsis#
Functions#
def
axisScaleType
()def
axisSteps
()def
axisStepsRef
()def
eURange
()def
engineeringUnits
()def
__eq__
(rhs)def
setAxisScaleType
(axisScaleType)def
setAxisSteps
(axisSteps)def
setEURange
(eURange)def
setEngineeringUnits
(engineeringUnits)def
setTitle
(title)def
title
()
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:
axisScaleType –
AxisScale
eURange –
PySide6.QtOpcUa.QOpcUaRange
axisSteps – .list of double
engineeringUnits –
PySide6.QtOpcUa.QOpcUaEUInformation
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
.
Returns the scaling of this axis, defined by AxisScale
.
See also
- 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
- PySide6.QtOpcUa.QOpcUaAxisInformation.axisStepsRef()#
- Return type:
.list of double
Returns a reference to the axis steps.
- PySide6.QtOpcUa.QOpcUaAxisInformation.eURange()#
- Return type:
Returns the lower and upper values of this axis.
See also
- PySide6.QtOpcUa.QOpcUaAxisInformation.engineeringUnits()#
- Return type:
Returns the engineering units of this axis.
See also
- PySide6.QtOpcUa.QOpcUaAxisInformation.__eq__(rhs)#
- Parameters:
- Return type:
bool
Returns true
if this axis information has the same value as rhs
.
- PySide6.QtOpcUa.QOpcUaAxisInformation.setAxisScaleType(axisScaleType)#
- Parameters:
axisScaleType –
AxisScale
Sets the axis scale type to axisScaleType
.
See also
- PySide6.QtOpcUa.QOpcUaAxisInformation.setAxisSteps(axisSteps)#
- Parameters:
axisSteps – .list of double
Sets the axis steps to axisSteps
.
See also
- PySide6.QtOpcUa.QOpcUaAxisInformation.setEURange(eURange)#
- Parameters:
eURange –
PySide6.QtOpcUa.QOpcUaRange
Sets the lower and upper values of this axis to eURange
.
See also
- PySide6.QtOpcUa.QOpcUaAxisInformation.setEngineeringUnits(engineeringUnits)#
- Parameters:
engineeringUnits –
PySide6.QtOpcUa.QOpcUaEUInformation
Sets the engineering units to engineeringUnits
.
See also
- PySide6.QtOpcUa.QOpcUaAxisInformation.setTitle(title)#
- Parameters:
Sets the title to title
.
See also
- PySide6.QtOpcUa.QOpcUaAxisInformation.title()#
- Return type:
Returns the title of this axis.
See also