Remote control commands
R&S
®
SGS100A
215User Manual 1173.9105.02 ─ 13
13.1.2 Generating an I/Q modulated signal
In the following example we assume that a remote PC is connected to the instrument.
The remote PC and the instrument are switched on and a connection between them is
established. An external analog signal is provided at the I and Q connectors of the
instrument.
// ******************************************************************
// Reset instrument first
// ******************************************************************
*RST; *CLS
// ******************************************************************
// Lock the instrument to the controller
// ******************************************************************
LOCK? 72349234
// Lock instrument to avoid interference by other controllers
// Use an arbitrary number
// Response: 1
// Request granted, i.e. the instrument is locked
// Abort program if request is refused
// ******************************************************************
// Select normal operation mode
// ******************************************************************
SOURce:OPMode NORMal
// ******************************************************************
// Set RF frequency and level
// ******************************************************************
SOURce:FREQuency:CW 2 GHz
// SOURce:PHASe 0
// SOURce:PHASe:REFerence
SOURce:POWer -10dBm
SOURce:POWer:PEP?
// ******************************************************************
// Enable internal reference frequency source
// ******************************************************************
SOURce:ROSCillator:SOURce INTernal
// ******************************************************************
// Enable internal LO source
// ******************************************************************
SOURce:LOSCillator:SOURce INT
Programming examples