
Network and Remote Operation
R&S
®
ESW
377
User Manual 1177.6298.02 ─ 08
4. Wait for a service request.
The service request indicates that the overlapped command has finished.
*OPC? with a service request
1. Set bit no. 4 in the SRE:
*SRE 16
to enable MAV service request.
2. Send the overlapped command with
*OPC?
.
3. Wait for a service request.
The service request indicates that the overlapped command has finished.
Event status register (ESE)
1. Set the OPC mask bit (bit no. 0) in the ESE:
*ESE 1
2. Send the overlapped command without
*OPC
,
*OPC?
or
*WAI
.
3. Poll the operation complete state periodically (with a timer) using the sequence:
*OPC; *ESR?
A return value (LSB) of 1 indicates that the overlapped command has finished.
14.1.7
Status Reporting System
The status reporting system stores all information on the current operating state of the
instrument, and on errors which have occurred. This information is stored in the status
registers and in the error queue. Both can be queried via GPIB bus or LAN interface
(
STATus
... commands.
(See
Chapter 15.10, "Using the Status Register"
............................................................................... 377
Structure of a SCPI Status Register
......................................................................379
Contents of the Status Registers
.......................................................................... 380
Application of the Status Reporting System
..........................................................391
Reset Values of the Status Reporting System
...................................................... 393
14.1.7.1
Hierarchy of Status Registers
As shown in the following figure, the status information is of hierarchical structure.
Remote Control Basics