Status Reporting System CMU
1100.4903.12 5.26 E-8
Query by Means of Commands
Each part of any status register can be read by means of queries. The individual commands are listed
in Chapter 6. What is returned is always a number which represents the bit pattern of the register que-
ried. This number is evaluated by the controller program.
Queries are usually used after an SRQ in order to obtain more detailed information on the cause of the
SRQ.
Error Queue Query
Each error state in the instrument leads to an entry in the error queue. The entries of the error queue
are detailed plain-text error messages which can be looked at in the ERROR menu via manual control
or queried via the GPIB bus using command "SYSTem:ERRor?". Each call of "SYSTem:ERRor?"
provides one
entry from the error queue. If no error messages are stored there any more, the instru-
ment responds with 0, "No error".
The error queue should be queried after every SRQ in the controller program as the entries describe
the cause of an error more precisely than the status registers. Especially in the test phase of a control-
ler program the error queue should be queried regularly since faulty commands from the controller to
the instrument are recorded there as well.