
Status Reporting System
R&S
®
ZVA/ZVB/ZVT
1145.1084.12 5.26
E-1
Bits
Weight
0
1
2
3
4
5
6
7
...
1
2
4
8
16
32
64
128
...
Example:
The decimal value 40 = 32 + 8 indicates that bits no. 3 and 5 in the status register (e.g. the
QUEStionable status summary bit and the ESB bit in the STatus Byte) are set.
Queries are usually used after an SRQ in order to obtain more detailed information on the cause of the
SRQ.
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 the GPIB
bus 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.
Summary of Contents for 1145.1010.04/05/06
Page 10: ......
Page 20: ......
Page 22: ......
Page 48: ......
Page 70: ......
Page 72: ......
Page 90: ......
Page 92: ......
Page 108: ......
Page 156: ......
Page 162: ......
Page 406: ...Display Menu R S ZVA ZVB ZVT 1145 1084 12 4 244 E 6 Stack Tile Horizontally Tile Vertically...
Page 450: ...Status Reporting System R S ZVA ZVB ZVT 1145 1084 12 5 18 E 1...
Page 462: ......
Page 766: ......
Page 772: ......
Page 792: ......
Page 794: ......
Page 808: ......