
Network and Remote Operation
R&S
®
ESW
394
User Manual 1177.6298.02 ─ 08
Table 14-20: Resetting 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 PPE
-
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
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) The first command in a command line that immediately follows a <PROGRAM MESSAGE TERMINA-
TOR> clears the output buffer.
14.1.8
General Programming Recommendations
Initial instrument status before changing settings
Manual operation is designed for maximum possible operating convenience. In con-
trast, 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. Therefore, control programs should always define an initial instrument status
(e.g. using the *RST command) and then implement the required settings.
Command sequence
As a general rule, send commands and queries in different program messages. Other-
wise, the result of the query may vary depending on which operation is performed first
(see also
Chapter 14.1.6.1, "Preventing Overlapping Execution"
Remote Control Basics