measure_between
Measure delay or phase between two oscilloscope channels, using one channel as reference to compare against another. Returns edge-specific delay in seconds or phase in degrees.
Instructions
Query a two-source delay or phase measurement between two channels. source1 is the reference channel, source2 is the measured channel. DS1000Z items: RDELAY (rising-edge delay, seconds), FDELAY (falling-edge delay, seconds), RPHASE (rising-edge phase, degrees), FPHASE (falling-edge phase, degrees). DHO series exposes a 4-way matrix: RRDELAY/RFDELAY/FRDELAY/FFDELAY and RRPHASE/RFPHASE/FRPHASE/FFPHASE (first letter = source1 edge, second = source2 edge). On DHO the DS1000Z names are auto-mapped to their homogeneous equivalents (RDELAY→RRDELAY, FDELAY→FFDELAY, RPHASE→RRPHASE, FPHASE→FFPHASE). For stable readings: on DS1000Z, stop acquisition first. On DHO, keep acquisition running (see measure for details). A 9.9E37 result is the scope's invalid/overflow sentinel and comes back annotated; any source channel whose display is OFF is auto-enabled first (noted in the result). Do not call concurrently with any other rigol tool.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| item | Yes | ||
| source1 | Yes | Reference channel | |
| source2 | Yes | Measured channel |