
Remote Commands
R&S
®
FSW
1088
User Manual 1173.9411.02 ─ 19
11.15.1 Programming Example: Performing a Basic Frequency Sweep
This example demonstrates how to configure and perform a basic frequency sweep
measurement in a remote environment.
//--------------Preparing the measurement ---------------------
*RST
//Resets the instrument
INIT:CONT OFF
//Selects single sweep mode.
//--------------Configuring the Frequency and Span-------------
FREQ:CENT 100MHz
//Defines the center frequency
FREQ:SPAN 200MHz
//Sets the span to 100 MHz on either side of the center frequency.
//Activate signal tracking to keep the center frequency on the signal peak:
CALC:MARK:FUNC:STR ON
CALC:MARK:FUNC:STR:BAND 20MHz
CALC:MARK:FUNC:STR:THR -90dBm
CALC:MARK:FUNC:STR:TRAC 1
//After each sweep the maximum on trace 1 is searched within a range of 20 MHz
//around the center frequency. It must have a minimum power of -90dBm.
//--------------Configuring the Bandwidth----------------------
BAND:AUTO OFF
BAND 1MHz
BAND:TYPE RRC
//Defines the RBW as 1 MHz using an RRC filter
BAND:VID:AUTO OFF
BAND:VID 500kHz
//Decouples the VBW from the RBW and decreases it to smooth the trace.
//--------------Configuring the Sweep--------------------------
SENS:SWE:COUN 10
//Defines 10 sweeps to be performed in each measurement.
SENS:SWE:POIN 500
//During each sweep, 500 trace points will be measured.
SENS:SWE:TIME:AUTO OFF
SENS:SWE:TIME 50ms
//Decouples the sweep time from the RBW,VBW and span and increases it to
//make the measurement more precise.
//--------------Configuring Attenuation------------------------
//Only if electronic attenuator is available:
//INP:EATT:STAT ON
//Switches on the electronic attenuator.
//INP:EATT 30dB
Programming Examples