Remote Control
R&S
®
ESRP
560
User Manual 1175.7445.02 ─ 08
Bit No.
Meaning
7 to 14
Unused
15
This bit is always 0.
11.1.6.4
Application of the Status Reporting System
The purpose of the status reporting system is to monitor the status of one or several
devices in a measuring system. To do this and react appropriately, the controller must
receive and evaluate the information of all devices. The following standard methods
are used:
●
Service request
(SRQ) initiated by the instrument
●
Serial poll
of all devices in the bus system, initiated by the controller in order to
find out who sent a SRQ and why
●
Parallel poll
of all devices
●
Query of a
specific instrument status
by means of commands
●
Query of the
error queue
Service Request
Use of the command *OPC to generate an SRQ at the end of a sweep
1.
CALL InstrWrite(analyzer, "*ESE 1")
'Set bit 0 in the ESE (Operation
Complete)
2.
CALL InstrWrite(analyzer, "*SRE 32")
'Set bit 5 in the SRE (ESB)
3.
CALL InstrWrite(analyzer, "*INIT;*OPC")
' Generate an SRQ after
operation complete
After its settings have been completed, the instrument generates an SRQ.
The SRQ is the only possibility for the instrument to become active on its own. Each
controller program should cause the instrument to initiate a service request if errors
occur. The program should react appropriately to the service request.
A detailed example for a service request routine can be found in
Serial Poll
In a serial poll, just as with command
*STB
, the status byte of an instrument is queried.
However, the query is realized via interface messages and is thus clearly faster.
The serial poll method is defined in IEEE 488.1 and used to be the only standard pos-
sibility for different instruments to poll the status byte. The method also works for
instruments which do not adhere to SCPI or IEEE 488.2.
The serial poll is mainly used to obtain a fast overview of the state of several instru-
ments connected to the controller.
Remote Control - Basics