Gate Hold Off and Stop Configuration Example
The following example shows the sequence commonly used when configuring
the stop gate hold off and stop gate using low-level commands.
//configure the counter for an externally gated time
//interval measurement. The gate start and stop signals are
//applied to the rear panel 'Gate In' BNC. Gate closing is
//held off for 1 second after the stop gate signal is
//received.
//
CONF:TINT (@1),(@2)
READ?
Automatic Gate Extension
Inherent to 53220A/53230A frequency and period measurements is auto-
matic gate extension in which the measurement ends one edge (event) of the
input signal after the gate is closed (stopped). Thus, the sample count
(SAMPle:COUNt) does not increment and cause a potential state change in
the trigger/gate cycle (Figure 5-2) until the gate extension is complete.
53220A/53230A User's Guide
TRIG:SOUR INT
TRIG:COUN 1
SAMP:COUN 2
SENS:GATE:STAR:SOUR EXT
SENS:GATE:EXT:SOUR EXT
SENS:GATE:STAR:SLOP POS // set a pos. start gate slope
OUTP:STAT OFF
//
// configure hold off and stop gate
//
SENS:GATE:STOP:HOLD:SOUR TIME // hold off source
SENS:GATE:STOP:HOLD:TIME 1
SENS:GATE:STOP:SOUR EXT // external stop gate source
SENS:GATE:EXT:SOUR EXT
SENS:GATE:STOP:SLOP POS
SENS:TINT:GATE SOUR ADV
// initiate counter and take reading
// time interval meas ch1-ch2
// use internal trigger source
// specify one trigger
// set 2 readings (gate cycles)
// set an external gate source
// select rear panel Gate In BNC
// disable BNC as an output
//hold off gate close for 1s
// select rear panel Gate In BNC
// select pos. stop gate source
// low-level gate control
Triggering and Gating
5
189