Operating instructions

SENSe:SWEep Subsystem R&S ESCI
1166.6004.12 6.192 E-1
[SENSe<1|2>:]SWEep:COUNt 0 to 32767
This command defines the number of scans started with single scan in receiver mode,
In analyzer mode, this command defines the number of sweeps started with single sweep, which are
used for calculating the average or maximum value. In average mode, the value 0 defines a
continuous averaging of measurement data over 10 sweeps.
Example: "SWE:COUN 64" 'Sets the number of sweeps to 64.
"INIT:CONT OFF" 'Switches to single-sweep mode.
"INIT;*WAI" 'Starts a sweep and waits for its end.
Characteristics: *RST value: 0
SCPI: conforming
Mode: R, A, FM
[SENSe<1|2>:]SWEep:COUNt:CURRent
This command queries the number of scans started with single scan in receiver mode,
In analyzer mode, this command queries the number of sweeps started with single sweep.
Example: "SWE:COUN 64" 'Sets the number of sweeps to 64.
"INIT:CONT OFF" 'Switches to single-sweep mode.
"INIT" 'Starts a sweep without waits for its end.
"SWE:COUN:CURR?" 'queries the number of sweeps already
started.
Characteristics: *RST value: -
SCPI: device-specific
Mode: R, A, FM
[SENSe<1|2>:]SWEep:EGATe ON | OFF
This command switches on/off the sweep control by an external gate signal. If the external gate is
selected the trigger source is automatically switched to EXTernal as well.
In case of measurement with external gate, the measured values are recorded as long as the gate is
opened. There are two possibilities:
1. The gate is edge-triggered ("SWEep:EGATe:TYPE EDGE"):
After detection of the set gate signal edge, the gate remains open until the gate delay
(SWEep:EGATe:HOLDoff) has expired.
2. The gate is level-triggered ("SWEep:EGATe:TYPE LEVel"):
After detection of the gate signal, the gate remains open until the gate signal disappears.
A delay between applying the gate signal and the start of recording measured values can be defined
with SWEep:EGATe:HOLDoff.
During a sweep the gate can be opened and closed several times. The synchronization mechanisms
with *OPC, *OPC? and *WAI remain completely unaffected.
The sweep end is detected when the required number of measurement points (501 in analyzer
mode) has been recorded.
Example: "SWE:EGAT ON" 'Switches on the external gate mode.
"SWE:EGAT:TYPE EDGE" 'Switches on the edge-triggered mode.
"SWE:EGAT:HOLD 100US" 'Sets the gate delay to 100 µs.
"SWE:EGAT:LEN 500US" 'Sets the gate opening time to 500 µs.
"INIT;*WAI" 'Starts a sweep and waits for its end.
Characteristics: *RST value: OFF
SCPI: device-specific
Mode: A