![Ronde & Schwarz 1304.0004.03 User Manual Download Page 807](http://html1.mh-extra.com/html/ronde-and-schwarz/1304-0004-03/1304-0004-03_user-manual_1484985807.webp)
Remote Commands
R&S
®
FPL1000
807
User Manual 1178.3370.02 ─ 09
Programming Example for a Tracking Generator
The following example demonstrates how to work with a tracking generator in a remote
environment. It requires the Tracking Generator option (R&S
FPL1-B9) to be installed
on the R&S
FPL1000.
//--------------Preparing the instrument -----------
//Reset the instrument
*RST
//Set the frequency span.
SENS:FREQ:STAR 10HZ
SENS:FREQ:STOP 1MHZ
//--------------Configuring the use of the internal generator -----------
OUTP ON
SOUR:FREQ:COUP ON
//Set the generator output level to -10 dBm.
SOUR:POW -10DBM
//Define a frequency offset of 100kHz
SOUR:INT:FREQ:OFFS 100KHZ
//--------------Performing the calibration measurement -----------
//Perform a transmission measurement with direct connection between the generator
//and the analyzer and wait till the end
SENS:CORR:METH TRAN
SENS:CORR:COLL:ACQ THR; *WAI
//--------------Retrieving the calibration trace results -----------
//Retrieve the measured frequencies (10 Hz - 10 MHz)
TRAC:DATA:X? TRACE1
//Retrieve the measured power levels;
TRAC:DATA? TRACE1
//--------------Normalizing the calibration trace results -----------
//Retrieve the normalized power levels (= power offsets from calibration results)
//Should be 0 for all sweep points directly after calibration
SENS:CORR:STAT ON
TRAC:DATA? TRACE1
//--------------Changing the display of the calibration results -----------
//Shift the reference line so the -5 dB level is displayed in the center
DISP:TRAC:Y:SCAL:RVAL -5DB
DISP:TRAC:Y:SCAL:RPOS 50PCT
Setting Basic Spectrum RF Measurement Parameters