EasyManua.ls Logo

Rohde & Schwarz SMC100A - Reset Values of the Status Reporting Systems

Rohde & Schwarz SMC100A
352 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...
R&S SMC100A Status Reporting System
1411.4060.32 5.28 E-1
Query by Means of Commands
E
ach part of any status register can be read by means of queries. The individual commands are listed
in the description of the STATus Subsystem. The returned value is always a number that represents
the bit pattern of the register queried. This number is evaluated by the controller program.
Q
ueries are usually used after an SRQ in order to obtain more detailed information on the cause of the
SRQ.
Error Queue Query
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 at in the ERROR menu via manual control or
queried via the IEC/IEEE bus or via the Ethernet using command "SYSTem:ERRor?". Each call of
"SYSTem:ERRor?" 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 Systems
Commands *RST, *DCL and SYSTem:PRESet and switching on the supply voltage also affect the status
reporting system. None of the commands, except for
*RST
and
SYSTem:PRESet
influences the
functional instrument settings. In particular, DCL does not change the instrument settings.
Resetting the Status Reporting System
Event
Switching on
supply voltage
DCL,SDC
Power-On-Status-
Clear
(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 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

Other manuals for Rohde & Schwarz SMC100A

Related product manuals