5 Triggering and Gating
142 Keysight 53210A User’s Guide
External Gate Signal Polarity
 
When using any external gate source the polarity of the gate signal and therefore, 
the duration of the gate, is set or changed with the command:
[SENSe:]FREQuency:GATE:POLarity {POSitive|NEGative} 
[SENSe:]FREQuency:GATE:POLarity?     (query form)
POSitive
 starts the measurement on a positive edge on the Gate In/Out BNC or 
channel 1 input, and stops the measurement on the next negative edge.
NEGative starts the measurement on a negative edge on the Gate In/Out BNC or 
channel 1 input, and stops the measurement on the next positive edge. 
CONFigure and MEASure do not change the polarity setting. Following a reset 
(
*RST) or counter preset (SYSTem:PRESet), the negative edge is selected. 
To set the polarity of the external gate signal:
// select the gate polarity and source 
CONF:PER 
  SENS:FREQ:GATE:POL POS      // set polarity 
  SENS:FREQ:GATE:SOUR EXT     // set source
OUTput:STATe OFF must be set when using gate source EXTernal. See “Enabling 
Gate Signals on the ‘Gate In/Out’ BNC” for more information and for information 
on using gate signals to synchronize other instruments.