Network and Remote Operation
R&S
®
FSW
765User Manual 1173.9411.02 ─ 43
Table 13-19: Meaning of the bits used in the STATus:QUEStionable:TIMe register
Bit No. Meaning
0 not used
1 Sweep time too low
This bit is set if the sweep time is too low.
2 to 14 Unused
15 This bit is always 0.
13.1.7.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
Under certain circumstances, the instrument can send a service request (SRQ) to the
controller. A service request is a request from an instrument for information, advice or
treatment by the controller. Usually this service request initiates an interrupt at the con-
troller, to which the control program can react appropriately. As evident from Fig-
ure 13-2, an SRQ is always initiated if one or several of bits 2, 3, 4, 5 or 7 of the status
byte are set and enabled in the SRE. Each of these bits combines the information of a
further register, the error queue or the output buffer. The ENABle parts of the status
registers can be set such that arbitrary bits in an arbitrary status register initiate an
SRQ. In order to make use of the possibilities of the service request effectively, all bits
should be set to "1" in enable registers SRE and ESE.
The service request 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.
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)
Remote Control Basics