EasyManua.ls Logo

Rohde & Schwarz SGS100A - Hierarchy of the Status Registers; Status Reporting System

Rohde & Schwarz SGS100A
324 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...
Remote Control Basics
R&S
®
SGS100A
302User Manual 1173.9105.02 ─ 12
SINGle; *OPC?
For time consuming overlapped commands, you can allow the controller or the instru-
ment to do other useful work while waiting for command execution. Use one of the fol-
lowing methods:
*OPC with a service request
1. Set the OPC mask bit (bit no. 0) in the ESE: *ESE 1
2. Set bit no. 5 in the SRE: *SRE 32 to enable ESB service request.
3. Send the overlapped command with *OPC .
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.
A.5 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.
You can query both with the commands of the STATus Subsystem.
A.5.1 Hierarchy of the Status Registers
The Figure A-1 shows the hierarchical structure of information in the status registers
(ascending from left to right).
Status Reporting System

Table of Contents