| Prev | Next | Start of Chapter | Next Chapter | Contents | Glossary | Index | Comments | (5 out of 5)

Dials and Meters

Dials and meters, items of the DIAL and METER classes, show the value of any quantity variable, parameter, or expression as a pointer on the display. Both items cause data-seeking if the workspace upon which they reside is not hidden.


A dial is a semi-circular clock-like display containing a pointer and five numeric values, ranging from the far left-hand side to the right. You set the range of the dial values in the attribute table. The pointer moves clockwise from left to right as the expression value increases, and reverses as it decreases.


A meter is a vertical measurement display. The meter also has five numeric values, along with a bar that moves up and down as the expression value increases or decreases.

Display meters are not the same as G2-meters. A G2-meter is a special class of quantitative variable you can create to monitor G2, as described in Chapter 44, G2-Meters. However, you could use a display meter to show the value of a G2-meter.

Setting the Meter's Lower Value

The Low-value-for-dial-rule attribute (Low-value-for-meter-ruling for meters) sets the lowest value for the ruling of the dial or meter.

Determining the Meter's Dial Increment

The Increment-per-dial-ruling attribute (Increment-per-meter-ruling for meters) determines the increment of the dial or meter rulings.

For example, if the Low-value-for-dial-ruling is 0 and the Increment-per-dial-ruling is 10, then the dial or meter will have the rulings: 0, 10, 20, 30, 40.

Class-Specific Attributes of Dials and Meters

Dials and meters have functionally identical attributes, though the names differ slightly depending on whether the item is a dial or a meter. Common attributes are described in Common Attributes of Readout Tables, Dials, and Meters. The class-specific attributes of dials and meters are:

Attribute Description
Low-value-for-dial-ruling Low-value-for-meter-ruling
Specifies the lowest calibration (ruling) value for the dial or meter.
Allowable values:
Any dial- or meter-ruling-parameter
Default value:
0.0


Increment-per-dial-ruling Increment-per-meter-ruling
Specifies the increment to use for dial and meter rulings.
Allowable values:
Any dial- or meter-ruling-parameter
Default value:
0.25

| Prev | Next | Start of Chapter | Next Chapter | Contents | Glossary | Index | Comments | (5 out of 5)

Copyright © 1997 Gensym Corporation, Inc.