![background image](http://html1.mh-extra.com/html/keithley/3700-series/3700-series_reference-manual_3931523130.webp)
Section 8
:
Status Model
Series 3700 System Switch/Multimeter Reference Manual
8-8
Document Number: 3700S-901-01 Rev. A / August 2007
Commands to reset the status registers and the error queue are listed in the following table. In
addition to these commands, any programmable register can be reset by sending the 0
parameter value with the individual command to program the register.
Commands
Description
To reset registers:
status.reset()
Reset bits of status registers to 0.
To clear the error queue:
errorqueue.clear()
Clear all messages from the error queue.
Programming enable and transition registers
The only registers that can be programmed by the user are the enable and transition registers.
All other registers in the status structure are read-only registers. The following paragraph
explains how to ascertain the parameter values for the various commands used to program
enable registers.
A command to program an event enable or transition register is sent with a parameter value that
determines the desired state (0 or 1) of each bit in the appropriate register. The bit positions of
the register (see the following figure) indicate the binary parameter value and decimal
equivalent. To program one of the registers, send the decimal value for the bit(s) to be set.
Figure 8-8: 16-bit status register
When using a numeric parameter, registers are programmed by including the appropriate
<mask> value, for example:
*ese <mask>