PySide6.QtOpcUa.QOpcUaAxisInformation¶
- class QOpcUaAxisInformation¶
The OPC UA AxisInformation type. More…
Synopsis¶
Methods¶
def
__init__()
def
axisScaleType()
def
axisSteps()
def
axisStepsRef()
def
eURange()
def
__eq__()
def
setAxisSteps()
def
setEURange()
def
setTitle()
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 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
andaxisSteps
provide the scaling and the axis ranges of the plot.- __init__()¶
Default constructs an axis information with no parameters set.
- __init__(rhs)
- Parameters:
rhs –
QOpcUaAxisInformation
Constructs axis information from
rhs
.- __init__(engineeringUnits, eURange, title, axisScaleType, axisSteps)
- Parameters:
engineeringUnits –
QOpcUaEUInformation
eURange –
QOpcUaRange
title –
QOpcUaLocalizedText
axisScaleType –
AxisScale
axisSteps – .list of double
Constructs axis information with engineering units
engineeringUnits
, rangeeURange
, titletitle
, scalingaxisScaleType
and axis stepsaxisSteps
.Returns the scaling of this axis, defined by
AxisScale
.See also
- 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
- axisStepsRef()¶
- Return type:
.list of double
Returns a reference to the axis steps.
- eURange()¶
- Return type:
Returns the lower and upper values of this axis.
See also
- engineeringUnits()¶
- Return type:
Returns the engineering units of this axis.
See also
- __eq__(rhs)¶
- Parameters:
rhs –
QOpcUaAxisInformation
- Return type:
bool
Returns
true
if this axis information has the same value asrhs
.Sets the axis scale type to
axisScaleType
.See also
- setAxisSteps(axisSteps)¶
- Parameters:
axisSteps – .list of double
Sets the axis steps to
axisSteps
.See also
- setEURange(eURange)¶
- Parameters:
eURange –
QOpcUaRange
Sets the lower and upper values of this axis to
eURange
.See also
- setEngineeringUnits(engineeringUnits)¶
- Parameters:
engineeringUnits –
QOpcUaEUInformation
Sets the engineering units to
engineeringUnits
.See also
- setTitle(title)¶
- Parameters:
title –
QOpcUaLocalizedText
Sets the title to
title
.See also
- title()¶
- Return type:
Returns the title of this axis.
See also