Dials & Gauges Blockset    

Example of Modifying Properties

Returning to the model that you built in the section Building a Simple Model, you can modify the range of possible input values by modifying the properties of the Generic Knob block. For example, the instructions below change the maximum knob value from 10 to 25 so that the maximum value on the knob corresponds to the maximum value on the Lower Right gauge block.

  1. Open the ActiveX Control Properties dialog box by double-clicking on the active area of the Generic Knob block.
  2. Display the panel that controls the scaling of values by clicking on the Scale tab.
  3. Set the Max parameter to 25.
  4. Display the panel that controls tick marks by clicking on the Ticks tab.
  5. Set the StopValue parameter to 25.
  6. Set the DeltaValue parameter to 5. This prevents the knob block from looking too crowded.

The figure shows the resulting model. Notice that the knob can now register values between 0 and 25, and that it displays values in increments of 5.


  Accessing the Properties Learning More About Properties