3 53220A/53230A Measurements
104 Keysight 53220A/53230A User’s Guide
Measurements taken without changing at least one of these settings could result 
in values of approximately 0 seconds, as the measurement starts and stops on the 
same edge (slope) at approximately the same time.
2-channel time interval measurement example
// use CONFigure to set up a 2-channel time interval 
// measurement - start on ch. 1, stop on ch. 2
*RST  // reset to start from known state
SYST:TIM 5.0  // set a 5s measurement timeout
CONF:TINT (@1), (@2)  // configure 2-ch measurement
INP1:LEV:AUTO ON  // enable auto-level on ch. 1
INP2:LEV:AUTO ON  // enable auto-level on ch. 2
INP1:LEV1:REL 10  // set ch.1 threshold level to 10%
INP2:LEV1:REL 10  // set ch.2 threshold level to 10%
INP1:SLOP POS  // start meas on ch.1 rising edge
INP2:SLOP POS  // stop meas on ch.2 rising edge
 SENS:GATE:STOP:HOLD:SOUR TIME  // hold off gate close
 SENS:GATE:STOP:HOLD:TIME 200E-9 // hold off for 200 ns
 SENS:GATE:STAR:SOUR IMM // start meas when gate rec’d
SENS:GATE:STOP:SOUR IMM // stop meas when holdoff done
SENS:TINT:GATE:SOUR ADV  // enable gate settings
READ?
Notes
1 Auto-level is enabled on both channels to specify relative threshold levels of 
10% of the peak-to-peak signal level. The measurement starts on a positive 
(rising) edge on channel 1, and stops on a positive edge on channel 2.
2 A gate stop hold off is specified to select the desired rising edge on channel 2 
and, therefore, the interval to be measured.
3 See Chapter 4 for information on input threshold levels and slope, and 
Chapter 5 for advanced gating information.