Remote Control Commands
R&S
®
SGS100A
195User Manual 1173.9105.02 ─ 12
// Unlock the instrument
// ******************************************************************
:UNL 72349234
11.1.3 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 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
// ******************************************************************
// Query the VISA resource strings
// ******************************************************************
:SYSTem:COMMunicate:NETWork:RESource?
// Response: TCPIP::10.113.11.91::INSTR
:SYSTem:COMMunicate:SOCKet:RESource?
// Response: TCPIP:rssgs100a100021::5025::SOCKET
:SYSTem:COMMunicate:USB:RESource?
// Response: USB::0x0AAD::0x0088::100021::INSTR
:SYSTem:COMMunicate:PCIexpress:RESource?
// Response: PCIe::0x0AAD::4909::100021::INSTR
// ******************************************************************
// Query network settings
// ******************************************************************
:SYSTem:COMMunicate:NETWork:COMMon:HOSTname?
// Response: rssgs100a100021
:SYSTem:COMMunicate:NETWork:IPADdress:MODE?
// Response: AUTO
Programming Examples