EasyManua.ls Logo

Rohde & Schwarz R&S ZVA 8 - Error Queue; Reset Values of the Status Reporting System

Rohde & Schwarz R&S ZVA 8
813 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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.

Table of Contents

Related product manuals