Dials & Gauges Blockset |
 |
Knobs & Selectors
Select values in a discrete or continuous set using a mouse-controlled dial
Description
The Knobs & Selectors library contains two blocks that behave differently:
- The Generic Knob block displays a mouse-controlled dial that selects values on a continuous scale. The block's output is the value to which the dial points.
- The Frequency Selector block displays a mouse-controlled dial that selects values in a discrete set. The block's output is a nonnegative integer that depends on the value to which the dial points.
To learn how to use and customize these blocks, see Knobs & Selectors.
The Knobs & Selectors library also contains a block called Freq. Selector convert to Simulink. This block converts the output values of the Frequency Selector block to a base-10 logarithmic scale.
Dialog Box
The ActiveX Control Properties dialog box governs the appearance and functionality of the ActiveX control that is embedded in the block. The table below lists the panels of the ActiveX Control Properties dialog box for the Generic Knob block.
Panel
|
Purpose
|
Annulars
|
Display annular regions along the block's scale
|
Background
|
Configure the background and outline of the block
|
Captions
|
Display annotations on the block
|
Digital
|
Display the numerical value corresponding to the knob
|
Frame
|
Display a border on the block
|
Fonts
|
Define text styles (The Captions, Digital, and Ticks panels use the FontID or DigitalFontID property to reference the styles defined here.)
|
Knob
|
Define the appearance and behavior of the block's dial
|
Library
|
Refer to property settings as a named collection
|
Mark
|
Display a dot or other mark on the dial
|
Scale
|
Define the range and locations of selectable values
|
Ticks
|
Display markers and/or numbers at intervals along the scale
|
The table below lists the panels of the ActiveX Control Properties dialog box for the Frequency Selector block.
Panel
|
Purpose
|
Auto
|
Define the dial's range of motion, display the lines between the dial and the annotations for the selectable values, and determine whether the block should automatically position the selectable values
|
Background
|
Configure the background and outline of the block
|
Captions
|
Display annotations on the block (These are independent of the annotations associated with the selectable values, which are defined on the Selections panel.)
|
Frame
|
Display a border on the block
|
Fonts
|
Define text style (The Captions and Selections panels use the FontID property to reference the styles defined here.)
|
Knob
|
Define the appearance of the block's dial
|
Library
|
Refer to property settings as a named collection
|
Mark
|
Display a dot or other mark on the dial
|
Selections
|
Define the number and appearance of selectable values for the block
|
The Block Parameters dialog box governs the interaction between Simulink and the ActiveX control embedded in the block. See Summary of Dialog Box Fields and Check Boxes for details.
| Buttons & Switches | | LEDs |  |