Display input value on line
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 Library.
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.
The Linear Gauges library contains ActiveX® Control blocks preconfigured with ActiveX controls from Global Majic. The blocks fall into two categories, pointer gauges and bar gauges.
The pointer linear gauges are:
The bar linear gauges are:
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.
|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.
The ActiveX Control Properties dialog box of the pointer linear gauges has additional panels as in the table below.
|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.
|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|