Compass 1 Widget
Used by: I/O and Calculations, Analog Input, Analog Output, Analog Status, Analog Control, Calculation.
* Does not use the Style Settings tag.
Displays a compass having a needle that rotates according to the tag's value. The compass needle will point to North when the tag's value is 0. Direction of rotation is clockwise for positive values. The full range of the underlying tag's scaled values will cause one rotation.
The properties dialog for the Compass 1 widget:
Use Tag's Scaled Min & Max Values
In most cases, it is best to select this option. The tag's minimum scaled value corresponds to North (0 degrees on the compass) and the maximum scaled output value as well (360 degrees).
If the compass is to represent tags such as Calculation and Function that do not have their own scaled values, then deselect this box and enter the minimum and maximum values that can be expected from the tag.
Minimum Value and Maximum Value
The Minimum Value and Maximum Value fields are used to scale the amount of rotation of the needle, relative to the tag’s scaled output values.
For example, given a tag with scaled output ranging from 0 to 100:
Setting the widget’s scale range from 0 to 200 results in a needle that will rotate by a maximum of 180 degrees.
Setting the widget’s scale range from 0 to 50 results in a needle that will complete two full rotations.
Disable Options
Disable selected operator-interaction features of this widget.
See: Operator Interaction Controls
Basic Components\Compass\