Remote Commands to Perform Measurements with I/Q Data
R&S
®
FSV/A3000 I/Q
Analyzer
158
User Manual 1178.8536.02 ─ 01
Programming Example for External Generator Control
The following example demonstrates how to work with an external generator in a
remote environment.
It assumes a signal generator of the type SMW06 is connected to the R&S
FSV/A,
including TTL synchronization, as described in the R&S
FSV/A User Manual.
//--------------Preparing the instrument -----------
//Reset the instrument
*RST
//Set the frequency span.
SENS:FREQ:STAR 10HZ
SENS:FREQ:STOP 1MHZ
//--------------Configuring the interface -----------
//Set the generator type to SMW06 with a frequency range of 100 kHz to 4GHz
SYST:COMM:RDEV:GEN:TYPE 'SMW06'
//Set the interface used to the GPIB address 28
SYST:COMM:RDEV:GEN:INT GPIB
SYST:COMM:GPIB:RDEV:GEN:ADDR 28
//Activate the use of TTL synchronization to optimize measurement speed
SYST:COMM:RDEV:GEN:LINK TTL
//Activate the use of the external reference frequency at 10 MHz on the generator
SOUR:EXT:ROSC EXT
//--------------Configuring the calibration measurement -----------
//Activate external generator control.
SOUR:EXT:STAT ON
//Set the generator output level to -10 dBm.
SOUR:EXT:POW -10DBM
//Set the frequency coupling to automatic
SOUR:EXT:FREQ:COUP:STAT ON
//--------------Configuring the generator frequency range -----------
//Define a series of frequencies (one for each sweep point) based on the current
//frequency at the RF input of the analyzer; the generator frequency is half the
//frequency of the analyzer, with an offset of 100 kHz;
// analyzer start: 10 Hz
// analyzer stop: 1 MHz
// analyzer span: 999.99 KHz
// generator frequency start: 100.005 KHz
// generator frequency stop: 600 KHz
Configuring I/Q Analyzer Measurements