![R&S OSP Operating Manual Download Page 149](http://html1.mh-extra.com/html/rands/osp/osp_operating-manual_3076499149.webp)
R&S OSP
Remote Control
Operating Manual 1505.3896.12 - 14
134
Commands without SCPI label are device-specific, however, their syntax follows SCPI
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
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 to keep full
control over the instrument.
6.1.1 Establishing and Testing a LAN Connection
In the following example, a LAN connection is set up to the R&S OSP. 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 OSP to the controller or to the home/company network using
the LAN REMOTE connector at the rear panel.
2.
If you are using an R&S OSP120 (which has no display) a standard monitor must
be connected to the DVI-D connector on the front panel.
3.
Switch on the R&S OSP, wait until the startup procedure has completed. If the
local area network supports DHCP, the IP address that will be assigned to the
R&S OSP is show on the instrument display or on the monitor. If DHCP is not
supported, the R&S OSP can always be addressed via static IP address
192.168.48.147
. In the following, we assume that the instrument has the IP
address 10.123.10.173.
4.
Start your test tool, define the VISA address string and assign an alias. In the
following example, the VISA address string
"TPCIP0::10.123.10.173::inst0::INSTR" is defined; see table in
chapter 6.1
. The
VISA
alias (short string) is "OSP”. Note that the part “::inst0” of the VISA string is
optional.
5.
Write a test script using the VISA alias and run the script.
The following test script queries the identification string of the connected R&S OSP
and (after a short pause) returns the contents of the error queue:
OSP: *IDN?
PAUSE 100
OSP: system:error?
On test script execution, the test tool generates the following result log: