EasyManua.ls Logo

Rohde & Schwarz SGS100A - Page 200

Rohde & Schwarz SGS100A
324 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
198User Manual 1173.9105.02 ─ 12
// ******************************************************************
*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
// ******************************************************************
// Confirm that there is no extension currently enabled for the instrument
// Scan the network for available extension instruments and
// query information on the available instruments:
// hostname/IP adress, serial number, used remote channel
// select and enable an extension
// ******************************************************************
:EXTension:SELect?
// 0
// no extension is currently enabled
:EXTension:INSTruments:SCAN:STATe 1
:EXTension:INSTruments:SCAN:STATe?
// 1
// scan process is running
:EXTension:INSTruments:SCAN:STATe?
// 0
// scan finished
:EXTension:INSTruments:REMote:LAN:NAME?
// rssgu100a100002,rssgu100a101010
:EXTension:INSTruments:REMote:CHANnel?
// LAN,LAN
:EXTension:INSTruments:REMote:SERial?
// 100002,101010
// there are two available extensions
// select and enalbe the first extension (rssgu100a100002)
:EXTension:SELect 1
// determines the extension
// all further remote control commands are related to this extension
:EXTension:REMote:STATe?
Programming Examples

Table of Contents