
Remote Control Commands
R&S
®
SGU100A
143
User Manual 1176.7726.02 ─ 09
:OUTPut:STATe:PON UNCHanged
// ******************************************************************
// Query local oscillator frequency and power values and set LO
// ******************************************************************
:LOSCillator:FREQuency?
:LOSCillator:POWer?
// Set frequency and power on the local oscillator as required
// ******************************************************************
// Switch on the signal
// ******************************************************************
:SETTings:APPLy
// ******************************************************************
// Unlock the instrument
// ******************************************************************
:UNL 12345
11.1.4
Adjusting Network and Remote Channel Settings
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 the instrument first
// ******************************************************************
*RST; *CLS
// ******************************************************************
// Lock the instrument to the controller
// ******************************************************************
:LOCK? 12345
// Lock the 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 the VISA resource strings
Programming Examples