![Ronde & Schwarz 1304.0004.03 User Manual Download Page 747](http://html1.mh-extra.com/html/ronde-and-schwarz/1304-0004-03/1304-0004-03_user-manual_1484985747.webp)
Remote Commands
R&S
®
FPL1000
747
User Manual 1178.3370.02 ─ 09
11.6.17
Programming Example: Performing a Basic Frequency Sweep
This example demonstrates how to configure and perform a basic frequency sweep
measurement in a remote environment.
This example assumes a signal is measured at 100
MHz, with a maximum power level
of -3
dBm.
Some commands in the following examples may not be necessary as they reflect the
default settings; however, they are included to demonstrate the command usage.
//--------------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 100MHz
//Sets the span to 50 MHz on either side of the center frequency.
//--------------Configuring the Bandwidth----------------------
BAND:AUTO OFF
BAND 1MHz
//Defines the RBW as 1 MHz
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 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 5dB
//Sets the electronic attenuation to 5 dB.
//INP:ATT 0dB
//Sets the mechanical attenuation to 0 dB - makes a total of 5 dB attenuation
//otherwise:
Configuring and Performing Measurements