Sliders

Sliders let you update a variable value by sliding a bar up and down, even while your simulation is running.

From the Insert tab click on the slider button then left click on the simulation window where you want the slider to be placed. This will show a drop down box where you can select the global variable that the slider should be associated with. Select the slider and then double click it at any time to change the variable associated with it.

The variable value is updated whenever the position of the slider is changed. So if it's used in a calculation, timing or object property they will start using the new variable value.

If you wish something more complicated in your simulation to change or multiple changes to happen when the slider is moved then you can use the On Button Click Visual Logic event. This event will run whenever the slider value is changed. The special variable BUTTON will contain “Slider:VARNAME” where VARNAME is the name of the global variable associated with the slider.

See Also