R&S SGT100A User Manual page 100

Sgma vector rf source
Table of Contents

Advertisement

®
R&S
SGT100A
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
on page 24.
// ******************************************************************
// 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
User Manual 1176.8674.02 ─ 07
Understanding the R&S SGMA-GUI Software
Remote Control of the R&S SGMA-GUI
Chapter 2.3, "Connecting an External PC and
Devices",
69

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents