Error Queue; Reset Values Of The Status Reporting System - R&S SGT100A User Manual

Sgma vector rf source
Table of Contents

Advertisement

®
R&S
SGT100A
The returned value is always a decimal number that represents the bit pattern of the
queried register. 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

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]?. Each call of
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.
15.1.5.8

Reset Values of the Status Reporting System

The following table contains the different commands and events causing the status
reporting system to be reset. None of the commands, except of *RST and
SYSTem:PRESet affect the functional instrument settings. In particular, DCL does not
change the instrument settings.
Table 15-6: Resetting the status reporting system
Event
Effect
Clear STB, ESR
Clear SRE, ESE
Clear PPE
Clear error queue
Clear output buffer
Clear command processing
and input buffer
1) The first command in a command line that immediately follows a <PROGRAM MESSAGE TERMINA-
TOR> clears the output buffer.
User Manual 1176.8674.02 ─ 07
Switching on supply
DCL,
voltage
SDC
Power-On-Status-
(Device
Clear
Clear,
Selected
Device
0
1
Clear)
-
Yes
-
-
Yes
-
-
Yes
-
Yes
Yes
-
Yes
Yes
Yes
Yes
Yes
Yes
Annex
Remote Control Basics
*RST or
STATus:
*CLS
PRESet
SYSTem:
PRESet
-
-
Yes
-
-
-
-
-
-
-
-
Yes
1)
1)
1)
-
-
-
545

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents