![Rohde & Schwarz ZVL series Operating Manual Download Page 359](http://html.mh-extra.com/html/rohde-and-schwarz/zvl-series/zvl-series_operating-manual_1477904359.webp)
R&S ZVL
Remote Control
Status Reporting System
Operating Manual 1303.6580.32-05
344
Error Queue
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 that can be looked up in the
Error Log
or queried via remote control
using
SYSTem:ERRor[:NEXT]?
or
SYSTem:ERRor:ALL?
. Each call of
SYSTem:ERRor[:NEXT]?
provides one entry from the error queue. If no error messages are stored there any more, the instrument
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 controller
program the error queue should be queried regularly since faulty commands from the controller to the
instrument are recorded there as well.
Reset Values of the Status Reporting System
The table below indicates the effects of various commands upon the status reporting system of the
analyzer.
Event Switching
on
supply
voltage
Power-On-
Status-Clear
DCL,SDC(Device
Clear,
Selected Device
Clear)
*RST or
SYSTem:PRESet
STATus:PRESet *CLS
Effect
0
1
Clear STB,ESR
yes
yes
Clear SRE,ESE
yes
Clear PPE
yes
Clear EVENt parts of the
registers
yes
yes
Clear ENABle parts of all
OPERation-and
QUESTionable registers,
Fill ENABle parts of all
other registers with "1".
yes
yes
Fill PTRansition parts
with „1"
Clear NTRansition parts
yes
yes
Clear error queue
yes
yes
yes
Clear output buffer
yes
yes
yes
1)
1)
1)
Clear command
processing and input
buffer
yes
yes
yes
1) Every command being the first in a command line, i.e. immediately following a <PROGRAM MESSAGE TERMINATOR> clears
the output buffer.