Understanding the R&S SGMA-GUI Software
R&S
®
SGT100A
69
User Manual 1176.8674.02 ─ 07
In the following example we assume that a remote PC with installed R&S SGMA-GUI
on it is connected to a LAN and that the remote PC and the instruments are switched
on.
For more information, refer to section "Connecting an External PC and Devices" in the
Getting Started manual.
For more information, refer to
Chapter 2.3, "Connecting an External PC and Devices"
// ******************************************************************
// Trigger the scan function to search for instruments connected
// to the remote computer via all of the available interfaces.
// ******************************************************************
:INSTruments:SCAN:HNPRefix "rssg"
// scan returns only instruments with hostname beginning with "rssg"
:INSTruments:SCAN 1
*OPC?
// ******************************************************************
// Query the number of available instruments and the settings of each
// configured instrument: instrument type, symbolic name,
// remote channel used, serial number, hostname/IP address
// Adjust settings if required
// ******************************************************************
:INSTruments:COUNt?
// Response: 3
:INSTruments:TYPE?
// Response: SGU,SGS,SGT
:INSTruments:NAME?
// Response: SGU-100002,SGS-100006, SGT-100008
:INSTruments:SERial?
// Response: 100002,100006,100008
:INSTruments:REMote:CHANnel?
// Response: LAN,USB, PCIe
:INSTruments:REMote:NAME?
// Response: rssgu100a100002, rssgs100a100006, rssgt100a100008
// ******************************************************************
// Check the instrument state and activate instruments if required
// ******************************************************************
:INSTruments:ACTive:STATe?
// Response: 0,1,1
Remote Control of the R&S SGMA-GUI