14-4 Status Structure
Clearing registers and queues
When the SourceMeter 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 regis-
ters, and the Error Queue are listed in Table 14-1. 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.
NOTE SYSTem:PRESet and *RST have no effect on status structure registers and queues.
Table 14-1
Common and SCPI commands to 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
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
Clear messages from 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 commands.
2. STATus:PRESet has no effect on the Error Queue.
3. Use either of the two clear commands to clear the Error Queue.