Slider Block
Interactive on-canvas slider. Drag it while the simulation runs to steer a signal live — the diagram automatically switches to real-time pacing.
Open Slider in BlockWerk →# Slider
Interactive on-canvas slider source. Drag the handle — also while the simulation is running — and the output follows immediately. Placing a Slider (or any interactive input block) in a diagram automatically switches the simulation to real-time pacing, so what you do with your mouse is what you see on the scope.
Outputs
| Port | Description | | ---- | --------------------------------------- | | out | Current slider value (clamped to range) |
Parameters
| Parameter | Description | | --------- | ---------------------------------------------------- | | value | Current value (live-tunable; the slider writes this) | | minValue | Lower end of the range | | maxValue | Upper end of the range | | step | Drag resolution | | label | Text shown above the slider |
Usage
- Setpoint for a controller: Slider → Subtraction → PID → plant.
- Manual disturbance injection during a run.
- Combine two Sliders with a Mux for 2-DOF experiments, or use the Joystick2D block.
Notes
- The output is clamped to
[minValue, maxValue]even if thevalueparam is set
outside the range via the parameter panel.
- Every drag gesture records a single undo step (on release).