Slider

The Slider command display is used to change the associated simulation value to one of a range of pre-configured values.

Creation

To create a Slider command display, simply drag it onto a page from the Tools window's Commands section. Once in place, you may drag an input that requires a floating point or integer value from the Data window's Tree tab onto it. Inputs that can accept values from a command display are displayed in the tree in italics.

Configuration

The Slider can be vertically or horizontally oriented depending on the setting at the top of the configuration dialog

A Slider command will generate values between (and including) the minimum and maximum values specified in the configuration dialog.

You can also specify a number of steps to break the range down into. When the "Value restricted to step values" checkbox is checked, the values generated by the slider are restricted to the step values only. For example, if the minimum is set to 0 and the maximum to 30 with 4 steps specified, the slider will be restricted to generating the values: 0, 10, 20, and 30.

Usage

When the interface is in Run mode, moving the slider "knob" causes the associated simulation value to be changed to a value between the minimum and maximum (inclusive) specified in the Slider's configuration. The actual value is not modified until the mouse button is released.