Linear Indicator

Draws an indicator for a linear meter, either as a moving marker, or a bar that changes in length.  An example of each is shown in the following image, where the marker is the top red line:

Meter 13 is an example of a moving marker:  

You could use a bar that changes in length to build a thermometer draw method.

 

 

(Click title to expand text)

Data Source

The tag that provides the value being indicated. This can be any of:

Constant – useful only for testing.

Expression – create a meter that shows a value calculated from several I/O tags.

Tag – select an I/O tag whose value will be displayed by the meter.

Parameter – choose a parameter from the page where this meter is being drawn. When the parameter option is selected, the data source display will be replaced by a drop-down selector, showing all of the page parameters that are of type Tag.

Select Bitmap

The image used for the line.  Note that the same image is used for both the moving marker line and the expanding indicator (either scale or crop draw mode). The expanding indicator works by stretching the bitmap in the direction indicated by the linear indicator.

The meter parts group of the graphic library includes two indicators. It is important to select the vertical bar for an indicator that moves horizontally and the horizontal bar for an indicator that moves vertically.

Orientation

Whether the meter should move horizontally or vertically. Please see the note under Select Bitmap regarding the proper choice of indicator for each orientation.

Reverse Direction

When checked, horizontal indicators will increase to the left instead of right. Vertical meters will increase down instead of up.

Draw Mode

This can be one of:

Movingrepresented by a moving line:

Scale – represented by an expanding bar that fades slightly towards the maximum range.

Crop – represented by an expanding bar, that stays sharp to its maximum range, but blurs along the sides.

 

 

Dampen Movement

Applies to the moving draw mode: If set, the line's motion will be animated as it moves to position rather than jumping directly to the new value.

Number of Steps

If set to 0, the indicator shows the exact value.  If set to a larger value, the indicator is divided into the given number of steps and the display will round to the nearest step. So, for example, a step of 1 would mean all on or all off.  20 steps on an indicator that ranges from 0 to 100 would round the display to the nearest multiple of 5.

Color Options

Adjusts the hue, etc. of the indicator image.  Color control is described in the chapter: Color Options - Adjust Image Hue.

Scaling

Whether to use the tag's scaling values or to set a range directly in the indicator using the minimum and the maximum value fields.