Linear Gauges - Display input value on line
Description
Blocks in the Linear Gauges library show their input value graphically
on a scale that lies along a line. If the input value is greater than
the scale's maximum or less than the scale's minimum, then the block
displays the maximum or minimum value, respectively. To learn how
to use and customize blocks in this library, see Linear Gauges.
Note
Some blocks in this library can display multiple pointers. The
Multiple Scales block displays multiple pointers by default. To learn
how to control multiple pointers simultaneously, see Controlling Multiple Graphical Elements. |
Blocks in the Library
The blocks in the Linear Gauges library fall into two categories,
as listed below:
| Pointer Linear Gauges | Bar Gauges |
| Generic Linear Gauge | Generic Bar Gauge |
| Min-Max Thermometer | Reverse Sliding Scale |
| Mixer | Scaled Bar Gauge |
| Mixer Scale | Tank |
| Multiple Scales | Thermometer |
Dialog Box
Properties of All Library Blocks
The ActiveX Control Properties dialog box governs the appearance
and functionality of the control that is embedded in the block. The
table below lists the panels of the ActiveX Control Properties dialog
box for all blocks in this library.
| Panel | Purpose |
| Background | Configure the background and outline of the block |
| Captions | Display annotations on the block |
| Digital | Display the numerical value corresponding to the pointer |
| Fonts | Define text styles (The Captions, Digital,
and Ticks panels use the FontID property
to reference the styles defined here.) |
| Library | Refer to property settings as a named collection |
| Ticks | Display markers and/or numbers at intervals along the scale |
The Block Parameters dialog box governs the relationship between
the Simulink block and the control embedded in the block. See Block Parameters for the ActiveX Control Block for details.
Properties Specific to Certain Library Blocks
The ActiveX Control Properties dialog box of the pointer linear
gauges has additional panels as in the table below.
| Panel | Purpose |
| Bands | Display linear or rectangular regions along the block's scale |
| Pointers | Display one or more pointers on the block (The Digital panel
uses the PointerID property to reference the
pointers defined here.) |
| Scales | Define the ranges and locations of values displayed on the
block (The Bands, Pointers,
and Ticks panels use the ScaleID property
to reference the ranges defined here.) |
The ActiveX Control Properties dialog box of the bar gauges
has additional panels as in the table below.
| Panel | Purpose |
| Bar | Define the appearance of the linear bar |
| General | Define the range and orientation of the block's scale |
| Knob | Define the appearance of the level indicator |
 | LEDs | | Numeric Displays |  |
Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.
Get this Simulink Kit