10-4
Status Structure
Model 6487 Reference Manual
Clearing registers and queues
When the Model 6487 is turned on, the bits of all registers in the status structure are clear
(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
. In addition to these commands, any
enable register can be reset by sending the 0 parameter value with the individual command
to program the register.
klqb
SYSTem:PRESet and *RST have no effect on status structure registers and
queues.
Table 10-1
Common and SCPI commands — reset registers and clear queues
Commands
Description Ref
To reset registers:
*CLS
STATus
:PRESet
To clear error queue:
*CLS
STATus
:QUEue
:CLEar
SYSTem
:ERRor
:CLEar
Reset all bits of the following event registers to 0:
Standard event register
Operation event register
Measurement event register
Questionable event register
STATus subsystem:
Reset all bits of the following enable registers to 0:
Operation event enable register
Measurement event enable register
Questionable event enable register
Clear all messages from error queue
STATus subsystem:
Error queue:
Clear messages from error queue
SYSTem subsystem:
Error queue:
Clear messages from error queue
Note 1
Note 1
Note 2
Note 3
Note 3
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
“Status byte and service request (SRQ),” page 10-7
2. STATus:PRESet has no effect on the error queue.
3. Use either of the two clear commands to clear the error queue.