Remote Control
R&S
®
ZNB/ZNBT
674
User Manual 1173.9163.02 ─ 38
SYSTem:ERRor[:NEXT]?
provides one entry from the error queue. If no error mes-
sages 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. Espe-
cially in the test phase of a controller program the error queue should be queried regu-
larly since faulty commands from the controller to the instrument are recorded there as
well.
6.5.5 Reset Values of the Status Reporting System
The table below indicates the effects of various commands upon the status reporting
system of the R&S
ZNB/ZNBT.
Event
Switching on
supply voltage
Power-On-Status-
Clear
DCL, SDC
(Device
Clear,
Selected
Device Clear)
*RST or
SYS-
Tem:PRE-
Set:ALL
STA-
Tus:PRE-
Set
*CLS
Effect
0
1
Clear STB,ESR
yes
yes
Clear SRE,ESE
yes
Clear PPE
yes
Clear EVENt parts of the reg-
isters
yes
yes
Clear ENABle parts of all
OPERation-and QUESTiona-
ble 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.
Status Reporting System