Remote Control
R&S
®
RTM20xx
272
User Manual 1317.4726.02 ─ 01
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.
15.1.6.5
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
*RST
and
SYSTem:PRESet
, influence the functional instrument settings. In particular,
DCL
does
not change the instrument settings.
Table 15-11: Resest of the status reporting system
Event
Switching on supply
voltage
Power-On-Status-
Clear
DCL, SDC
(Device
Clear,
Selected
Device
Clear)
*RST or
SYS-
Tem:PRE
-
Set
STA-
Tus:PRE
-
Set
*CLS
Effect
0
1
Clear STB, ESR
-
yes
-
-
-
yes
Clear SRE, ESE
-
yes
-
-
-
-
Clear EVENt parts of the regis-
ters
-
yes
-
-
-
yes
Clear ENABle parts of all
OPERation and QUEStionable
registers;
Fill ENABle parts of all other reg-
isters 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) The first command in a command line that immediately follows a <PROGRAM MESSAGE TERMINATOR>
clears the output buffer.
15.1.7 General Programming Recommendations
Initial instrument status before changing settings
Manual operation is designed for maximum possible operating convenience. In contrast,
the priority of remote control is the "predictability" of the instrument status. Thus, when a
command attempts to define incompatible settings, the command is ignored and the
instrument status remains unchanged, i.e. other settings are not automatically adapted.
Basics