Graphic instrument to set parameter values
Use the Slider instrument to set the approximate value of real-valued data, such as voltage or current. When you bind a Slider instrument to a parameter with enum type data values, the enumerated values appear as units on the instrument scale. The enumerated values are visible when you run the instrument panel. For more information, see Add Instrument Panel to Tank Model.
Do not use this graphic instrument for instrument panel development. Support for this instrument relies on support for the .NET API, which will be removed in a future release. For alternatives to instrument panels in Simulink Real-Time Explorer, see Instrumentation Apps for Real-Time Applications.
To access a dialog box containing key instrument or layout element properties, select the item. In the top, right corner, click the Tasks button .
To access the complete Properties list for an instrument or layout element, in the instrument panel, select the item. In the Properties list, to access a dialog box for a particular property group, click the group. To the right of the group, click the continuation button .
These properties represent a selection from the available properties. For more properties, see Graphical Properties.
ScaleDisplay— Subset of scale display properties
Open a dialog box to configure the scale display.
Auto— Automatic generator display properties
To set properties of the automatic display generator, under the Generator tab, click the Auto tab.
Fixed Min/Max Majors— Constrain top and bottom tick values
True, the top and bottom
ticks are constrained to be major ticks with min/max
values defined by Min and
Min Text Spacing— Minimum space between scale ticks
1(default) | numeric
Desired Increment— Display of major tick labels
0(default) | numeric
The number of labels is span / (desired increment + 1). This setting has no effect if the required labels do not fit in the space available in the graphic.
ScaleRange— Subset of scale range properties
Specify range of control scale. The property Max is calculated from Min and Span.