Remote control commands
R&S
®
SGS100A
218User Manual 1173.9105.02 ─ 13
13.1.4 Advanced tasks to optimize performance
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.
// ******************************************************************
// Reset instrument first
// ******************************************************************
*RST; *CLS
// SYSTem:PRESet
// :RESTart
// SYSTem:FPReset
// ******************************************************************
// 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.
// ******************************************************************
// Query and adjust the reference oscillator settings
// ******************************************************************
SOURce:ROSCillator:SOURce?
// Response: EXT
SOURce:ROSCillator:EXTernal:FREQuency?
// Response: 100MHZ
SOURce:ROSCillator:EXTernal:SBANdwidth?
//Response: WIDE
SOURce:ROSCillator:SOURce INTernal
SOURce:ROSCillator:OUTput:FREQuency 100MHZ
SOURce:ROSCillator:INTernal:ADJust:STATe OFF
// uses the calibrated adjustment value of the internal ref. frequency
SOURce:ROSCillator:INTernal:ADJust:VALue?
CONNector:REFLo:OUTPut?
// Response: REF
// ******************************************************************
// Optimizing the quality characteristics of the RF signal
// ******************************************************************
SOURce:POWer:LMODe LNO
// optimize the signal to noise ratio
SOURce:POWer:SCHaracteristic AUTO
// ensure highest dynamic range and fastest setting time
Programming examples