Dials & Gauges Blockset | ![]() ![]() |
Modifying the Displayed Range
Changing the range of values displayed on a block involves adjusting these properties:
To illustrate how to use these properties to adjust the range of values displayed on a block, this example changes the Generic Linear Gauge to display values from -20
to 20
, sets the interval between tick marks to 5
, and shows the tick mark labels. This figure shows the Generic Linear Gauge with its default settings (left) and with modified settings (right).
Changing the Scale
Click on the Scales tab to display the scales properties page. This figure shows the default scale properties for the Generic Linear Gauge.
To modify the scale range, change ScaleMax to 20
and ScaleMin to -20
.
Displaying Labels Next to Tick Marks
Click on the Ticks tab to display the tick mark properties page. This figure shows the default tick mark properties.
To show tick mark labels, check the Label On/Off check box.
To set the starting and ending tick marks so they mark the minimum and maximum scale settings, set StartValue to -20
and StopValue to 20
. Change the DeltaValue property, which sets the spacing between tick marks. A value of 5
is reasonable for default block size.
Setting the Current Pointer Value
Click on the Pointers tab to display the pointer properties page. This figure shows the default pointer properties.
The Value property indicates the current pointer value. Set the initial value to 0
, halfway between the maximum and minimum scale values. Click on OK to accept the changes and close the dialog box.
![]() | Controlling Values with the Mouse | Modifying Multiple Tick Marks | ![]() |