RadialInstrument
Display of a process variable value similar to a tachometer.
|
Symbol |
|
|
Menu ribbon |
Start > Controls > Input/output > Variable output > RadialInstrument |
The "RadialInstrument" control displays a round scale with a pointer pointing to a value on the scale. This value corresponds to the current value of the connected process variable.
Example: The radial instrument is used to display a speed, for example.
The pointer of the RadialInstrument points to the current value of the connected process variable.
Functionalities
The control element supports the following functionality:
-
Connection to an analogue process variable(integer value/floating point value) for the data source
-
Limitation of the displayable value range and coloured display of sub-ranges
-
Visualisation of the ring from the reference value
-
Representation of a pointer
-
Display of a background graphic
-
Representation of the ring or ring segments
-
Representation of a numerical scale
-
Display of scale values
-
Connection to the user administration for blocking operability
-
Display of the background, the frame, the shadow, etc.
-
Color display of the background, frame, text, etc., also depending on the status of the control element
You can configure these functionalities via the properties in the Properties window when you select the control in the Designer or in the document outline. Whether a property is visible in the properties window depends on the style of the control.
Style
By default, the control uses the "Plain.Default" style. Other system styles are available for the control in the "Style" property from the "General properties" category.
Certain properties may be missing in the Properties window for styled controls. For example, the "Colors" category is not available for controls in the system styles. These properties cannot be edited in the system styles.
You can also create your own styles for the control element. These styles are available for selection in the "Style" property after creation.
Structure
Internally, the radial instrument essentially consists of four elements: the background, the ring (Range), the scale and the pointer (Indicator). The elements have the same size as the control element and the same position within the control element. They lie on top of each other like transparencies.
The radial instrument and its elements
If the style of the control element is reset, the following properties for configuring the pointer are available in the "Indicator" category:
IndicatorSize
Specifies the size of the graphic to be used as a pointer. The specification of 100 % means that the height/width of the graphic corresponds to the height/width of the control element.
IndicatorUri
Defines the graphic (SVG) to be used as a pointer.
In the project explorer under DesignWsvgsWimagesWsvgs you will find a number of graphics, e.g. "instrumentneedle.svg", which is used by default for the pointer. To use a different graphic from the folder, click on the advanced options icon (
) next to the "IndicatorUri" property and select "Custom expression..." from the menu. Enter the name of the desired graphic and confirm with Enter.
If the style of the control is reset, the following properties for configuring the control are available in the "Instrument" category:
BackgroundUri
Defines the graphic (SVG) to be used as the background of the control element.
Defines the end point for the ring and the scale.
Defines the starting point for the ring and the scale.
ShowAllRanges
Determines whether all defined sub-areas are displayed. If the property is deactivated, the sub-areas are only displayed up to the current value.
-
The property is activated by default, but cannot be edited, i.e. it is not visible in the properties window. To be able to edit the property or make it visible, create a separate style for the control element and tick the box behind the property.
The "Range" element draws a ring or ring segments for defined sub-ranges along the scale. The following properties are available in the "Range" category to configure the element.
Defines the radius for the inside of the ring. Specifications in pixels or per cent are possible. The specification of 95 % (default setting) means that the radius corresponds to 95 % of the distance from the centre point to the boundary of the control element. If the height and width of the control element are different, the shorter distance is used to calculate the radius.
Specifies the radius for the outside of the ring. This can be specified in pixels or as a percentage. The specification of 100 % (default setting) means that the radius corresponds to 100 % of the distance from the centre point to the boundary of the control element. If the height and width of the control element are different, the shorter distance is used to calculate the radius.
Related topics: