11-4
Status Structure
Clearing registers and queues
When the Model 2520 is turned on, the bits of all registers in the status structure are
cleared (reset to 0), and the two queues are empty. Commands to reset the event and event
enable registers, and the Error Queue are listed in
mands, any enable register can be reset by sending the 0 parameter value with the individ-
ual command to program the register.
NOTE
Table 11-1
Common and SCPI commands to reset registers and clear queues
To Reset Registers:
*CLS
:STATus:PRESet
To Clear Error Queue:
*CLS
:STATus:QUEue:CLEar
Notes:
1. The Standard Event Enable Register is not reset by STATus:PRESet or *CLS. Send the 0 parameter value
with *ESE to reset all bits of that enable register to 0. See
page
2. STATus:PRESet has no effect on the Error Queue.
3. Use either of the two clear commands to clear the Error Queue.
SYSTem:PRESet and *RST have no effect on status structure registers and
queues.
Commands
Reset all bits of the following event registers to 0:
Reset all bits of the following enable registers to 0:
Clear all messages from Error Queue
Clear messages from Error Queue
11-10.
Table
Description
Standard Event Register
Operation Event Register
Measurement Event Register
Questionable Event Register
Operation Event Enable Register
Measurement Event Enable Register
Questionable Event Enable Register
"Status byte and service request commands,"
Model 2520 User's Manual
11-1. In addition to these com-
Ref.
Note 1
Note 1
Note 2
Note 3