7-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 Table 7-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
*RST has no effect on status structure registers and queues. See “Queues” for details
on the error queue.
Table 7-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”).
2. STATus:PRESet has no effect on the error queue.
3. Use either of the two :CLEar commands to clear the error queue.
Summary of Contents for 2303
Page 28: ...1 14 Getting Started...
Page 44: ...2 16 Basic Power Supply Operation...
Page 64: ...4 10 Long Integration Measurements...
Page 70: ...5 6 Relay Control...
Page 102: ...7 20 Status Structure...
Page 103: ...8 CommonCommands...
Page 108: ...8 6 Common Commands...
Page 109: ...9 Signal Oriented Measurement Commands...
Page 121: ...11 SCPITables...
Page 129: ...A Specifications...
Page 132: ...A 4 Specifications...
Page 133: ...B ErrorandStatusMessages...
Page 137: ...C EmulationCommands...
Page 143: ...D Models2303and2303B GPIB488 1Protocol...
Page 151: ......