
Network and Remote Operation
R&S
®
FSW
641
User Manual 1173.9411.02 ─ 19
You can read out the register with
Table 10-16: 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 and thus calibration fails.
Note: the STATus:QUEStionable bit for CALibration is not affected by this error.
2 to 14
Unused
15
This bit is always 0.
10.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. Usually this service request initiates an interrupt at the controller, to which
the control program can react appropriately. As evident from
, 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.
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.
Remote Control Basics