Network and Remote Operation
R&S
®
FSPN
263
User Manual 1179.4363.02 ─ 01
Sets the Event Status Bit (ESB - bit No. 5) of the Service Request Enable Register
(SRE) to 1 to enable ESB service request.
3. Send the overlapped command with
*OPC
Example:
INIT; *OPC
4. Wait for an ESB service request.
The service request indicates that the overlapped command has finished.
*OPC? with a service request
1. Execute
*SRE 16
Sets the Message Available bit (MAV - bit No. 4) of the Service Request Enable
Register (SRE) to 1 to enable MAV service request.
2. Send the overlapped command with
*OPC?
Example:
INIT; *OPC?
3. Wait for an MAV service request.
The service request indicates that the overlapped command has finished.
Event status enable register (ESE)
1. Execute
*ESE 1
Sets the OPC mask bit (bit No. 0) of the Standard Event Status Register (ESR) to 1
2. Send the overlapped command without
*OPC
,
*OPC?
or
*WAI
.
Example:
INIT; *OPC?
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.
10.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 11.10, "Using the Status Register"
............................................................................... 264
Structure of a SCPI Status Register
......................................................................265
Contents of the Status Registers
.......................................................................... 266
Application of the Status Reporting System
..........................................................275
Reset Values of the Status Reporting System
...................................................... 277
Remote Control Basics