R&S
®
CMW 500 Remote Control
Remote Control Operation
Operating Manual 1202.3986.32 – 03 70
rules. The tutorial "Automatic Measurement Control – A tutorial on SCPI and IEEE
488.2" from John M. Pieper (R&S order number 0002.3536.00) offers detailed
information on concepts and definitions of SCPI.
The requirements that the SCPI standard places on command syntax, error handling
and configuration of the status registers are explained in detail in the following
sections. Tables provide a fast overview of the bit assignment in the status registers.
The tables are supplemented by a comprehensive description of the status registers.
Manual and remote control
The R&S CMW 500 provides two different reset states for manual an remote control.
Remote control programs should always start from a well-defined initial state (e.g. with
the command *RST) and then implement the required settings in order keep full control
over the instrument.
5.1.1 Establishing and Testing a LAN Connection
In the following example, a direct LAN connection is set up to the R&S CMW 500. The
connection is tested using a simple test script.
The steps in detail depend on the test environment in use. The present example is
based on a test tool which requires an additional VISA installation.
1. Connect your R&S CMW 500 to the controller or to the home/company network
using the LAN REMOTE connector at the rear panel.
2. Switch on the R&S CMW 500, wait until the startup procedure is complete and
press the SETUP front panel key.
3. In the Setup dialog opened, look up the "IP Address" assigned to the R&S CMW
500.
In the following, we assume that the instrument has the IP address 10.121.11.192.
4. Start your test tool, define the VISA address string and assign an alias.
In the following example, the VISA address string
"TPCIP0::10.121.11.192::inst0::INSTR" is defined; see table in section Remote Control
Operation. The VISA alias (short string) is "CMW".
5. Write a test script using the VISA alias and run the script.
Hostname and IP address
The VISA address strings displayed in the Setup dialog contain the hostname of the
R&S CMW 500 instead of the IP address. Use the address string type that is most
convenient for you.
The following test script queries the identification string of the connected R&S CMW
500 and (after a short pause) returns the contents of the error queue: