
8-4
Status Structure
Clearing registers and queues
When the power supply 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.
NOTE
*RST has no effect on status structure registers and queues.
for details on the error queue.
Table 8-1
Common and SCPI commands — reset registers and clear queues
Commands
Description
Ref
To reset registers:
*CLS
Reset all bits of the following event registers to 0:
Standard event register
Operation event register
Measurement event register
Questionable event register
STATus
:PRESet
STATus subsystem:
Reset all bits of the following enable registers to 0:
Operation event enable register
Measurement event enable register
Questionable event enable register
Note 1
To clear error queue:
*CLS
Clear all messages from error queue
Note 2
STATus
:QUEue
{:NEXT}?
:CLEar
STATus subsystem:
Error queue:
Read and clear the oldest error/status message.
Clear all messages from error queue.
Note 3
SYSTem
:ERRor?
:CLEar
SYSTem subsystem:
Read and clear the oldest error/status message.
Clear all messages from error queue.
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” on
for service request enable register).
2. STATus:PRESet has no effect on the error queue.
3. Use either of the two :CLEar commands to clear the error queue.
Test Equipment Depot - 800.517.8431 - 99 Washington Street Melrose, MA 02176
TestEquipmentDepot.com
Summary of Contents for 2302
Page 2: ...Test Equipment Depot 800 517 8431 99 Washington Street Melrose MA 02176 TestEquipmentDepot com...
Page 4: ...Test Equipment Depot 800 517 8431 99 Washington Street Melrose MA 02176 TestEquipmentDepot com...
Page 16: ...Test Equipment Depot 800 517 8431 99 Washington Street Melrose MA 02176 TestEquipmentDepot com...
Page 22: ...Test Equipment Depot 800 517 8431 99 Washington Street Melrose MA 02176 TestEquipmentDepot com...
Page 344: ...Test Equipment Depot 800 517 8431 99 Washington Street Melrose MA 02176 TestEquipmentDepot com...
Page 346: ...Test Equipment Depot 800 517 8431 99 Washington Street Melrose MA 02176 TestEquipmentDepot com...
Page 347: ...Test Equipment Depot 800 517 8431 99 Washington Street Melrose MA 02176 TestEquipmentDepot com...