EasyManua.ls Logo

Rohde & Schwarz R&S SGS100A - Performing General Tasks for Instrument Setup

Rohde & Schwarz R&S SGS100A
326 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Remote control commands
R&S
®
SGS100A
213User Manual 1173.9105.02 ─ 13
13.1.1 Performing general tasks for instrument setup
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.
// ******************************************************************
// Launch selftest, diagnostic and internal adjustments and retrieve results
// ******************************************************************
TEST:ALL:STARt?
TEST:ALL:RESult?
// Response: RUN
// Call :TEST:ALL:RESult? repeatedly until finished (0 or 1 is returned)
DIAGnostic:POINt:CATalog?
// Response: D_TEMP_RFB,D_TEMP_CPU,D_TEMP_DBL,...
DIAGNostic:MEASure:POINt? 'D_TEMP_RFB'
// Calibration functions may take several minutes
// Set timeout values of controller accordingly
CALibration:ALL:MEASure?
// starts the adjustment of all functions for the entire instrument
// Response: 0 / 1
// i.e. adjustment has been performed successfully / adjustment failed
CALibration:FREQuency:MEASure?
// starts the adjustment of frequency and level
CALibration:LEVel:MEASure?
// starts adjustments for maximum level accuracy
Programming examples

Table of Contents

Related product manuals