get_cursor_measurement
Retrieve active cursor measurements from the oscilloscope, including X/Y positions, deltas, and frequency. Use after configuring cursors to get precise time and voltage differences.
Instructions
Read what the cursors currently measure (positions and deltas).
Returns mode and, from the active manual or track subtree, ax_s and bx_s (the X positions in seconds), ay_v and by_v (the Y positions in volts), xdelta_s and ydelta_v (cursor B minus cursor A) and ixdelta_hz (1/deltaX, the frequency that time difference corresponds to). A reading the instrument cannot produce (1/deltaX with deltaX = 0) is returned as null.
While the cursor mode is off or xy there is nothing to read and only mode is returned; place the cursors with configure_cursor first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||