set_cursor
Configure time, voltage, track, or XY cursors on an oscilloscope, setting positions, sources, units, and measurement indicators.
Instructions
Configure cursors.
mode: OFF|MANual|TRACk|XY (XY requires timebase mode XY); cursor_type (manual mode): TIME (X cursor) | AMPLitude (Y cursor); source/source2: manual source and track source 1/2 (CH1..CH4 / MATH1..4 / NONE); ax/bx: cursor A/B horizontal positions in s; ay/by: vertical in V (applied to both the manual and the track cursors); indicator: cursor measurement indicator on/off; tunit: manual horizontal unit SECond; vunit: manual vertical unit SOURce; track_mode: track axis X|Y; xy_ax/xy_bx/xy_ay/xy_by: XY-mode cursor positions in V.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ax | No | ||
| ay | No | ||
| bx | No | ||
| by | No | ||
| mode | No | ||
| tunit | No | ||
| vunit | No | ||
| xy_ax | No | ||
| xy_ay | No | ||
| xy_bx | No | ||
| xy_by | No | ||
| source | No | ||
| source2 | No | ||
| indicator | No | ||
| track_mode | No | ||
| cursor_type | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |