configure_cursor
Configure oscilloscope measurement cursors: set mode, type, sources, and X/Y positions. Adjust cursor placement without disturbing acquisition or outputs.
Instructions
Configure the on-screen measurement cursors. Omitted items are left unchanged.
This only moves the cursors the instrument draws over the trace: the acquisition is untouched and no output is driven. Read what the cursors report with get_cursor_measurement.
mode is off / manual / track / xy. In manual mode both cursors are placed freely; in track mode they follow their source waveform. Positions and sources belong to the subtree of the ACTIVE mode: type and source are manual-only, source1 and source2 are track-only, and giving one to the other mode is rejected. When mode is omitted, the mode currently set on the instrument decides which subtree is written. While the mode is off or xy there is nowhere to write, so positions are rejected: mode="xy" is accepted as a mode (it is one the device supports) but its own position subtree is not exposed by this server.
type is time / amplitude and selects what the manual cursors measure. source, source1 and source2 are "CH1"-"CH4", "MATH1"-"MATH4" or "NONE" (reference waveforms and digital channels are not valid cursor sources).
ax and bx are the X positions of cursor A and B in seconds, ay and by their Y positions in volts.
Specify at least one item to change. The device may snap values, so trust applied (the read-back value), not requested.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ax | No | ||
| ay | No | ||
| bx | No | ||
| by | No | ||
| mode | No | ||
| type | No | ||
| source | No | ||
| source1 | No | ||
| source2 | No |