EasyManua.ls Logo

Rohde & Schwarz R&S SGS100A - Page 84

Rohde & Schwarz R&S SGS100A
326 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...
Understanding the R&S SGMA-GUI software
R&S
®
SGS100A
84User Manual 1173.9105.02 ─ 13
Example "Configuring SGMA instruments" on page 85
Example: Searching for SGMA instruments
// Search for SGMA instruments using the scan function. It detects instruments
// that are connected to the remote computer via all of the available interfaces.
INSTruments:SCAN 1
*OPC?
// Query the number of available instruments.
INSTruments:COUNt?
// Response: 3
// Query instrument types.
INSTruments:TYPE?
// Response: SGU,SGS,SGT
// Query the symbolic names.
INSTruments:NAME?
// Response: SGU-100002,SGS-100006,SGT-100008
// Query the serial numbers.
INSTruments:SERial?
// Response: 100002,100006,100008
// Query the remote channel used.
INSTruments:REMote:CHANnel?
// Response: LAN,USB,PCIe
// Query the hostname/IP address.
INSTruments:REMote:NAME?
// Response: rssgu100a100002, rssgs100a100006, rssgt100a100008
// You can also define a hostname prefix to filter detected SGMA instruments.
:INSTruments:SCAN:HNPRefix "rssg"
// The scan returns only instruments with hostname beginning with "rssg".
:INSTruments:SCAN 1
Example: Scanning a subnet for SGMA instruments
// Set the IP address of an instrument of the subnet.
INSTruments:SCAN:SNET:IPADdress 10.111.1.11
// Set the prefix length of the subnet.
INSTruments:SCAN:SNET:PLENgth 20
// Higher prefix lengths accelerate the scan but lower the ability to detect all
// instruments within the subnet.
INSTruments:SCAN 1
Example: Evaluating scan results
// Check the instrument state and activate instruments, if required.
INSTruments:ACTive:STATe?
// Response: 0,1,1
INSTruments:ACTive:STATe ON,OFF,OFF
// Activates the first instrument in the list, i.e. the instrument SGS-100006.
// Export the configuration into a mapping file.
INSTruments:MAPPing:FILE "d:\mapping_files\mapping.map"
Remote control of R&S SGMA-GUI

Table of Contents

Related product manuals