Documentation Center

  • Trial Software
  • Product Updates

On Off Gauges

Display two states


Blocks in the On Off Gauges library are two-state gauges. A block input of 0 corresponds to an "off" state and a block input of 1 corresponds to an "on" state. To learn how to use and customize blocks in this library, see On Off Gauges Library.

Blocks in the Library

The On Off Gauges library contains ActiveX® Control blocks preconfigured with ActiveX controls from Global Majic, as shown.

Dialog Box

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.

BackgroundConfigure the background and outline of the block
GeneralDetermine how the button's beveling (if visible) responds to a state change
LibraryRefer to property settings as a named collection
OffAssociate visual (text caption or image) and/or audio cues with the off state of the button
OnAssociate visual (text caption or image) and/or audio cues with the on state of the button

If you use the question-mark icon to access the online help for the controls in this library, then note that Simulink® blocks use the controls only for readout, with no mouse control.

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.

Was this topic helpful?