![background image](http://html2.mh-extra.com/html/keithley/sourcemeter-2600b-series/sourcemeter-2600b-series_reference-manual_4085220855.webp)
Appendix E: Status model
Series 2600B System SourceMeter® Instrument Reference Manual
E-14
2600BS-901-01 Rev. C / August 2016
Clearing registers
Commands to reset the status registers are listed in the table below.
In addition to these commands, you can reset the enable registers and the NTR to 0. To do this, send
the individual command to program the register with a 0 as its parameter value. The PTR registers
can be reset to their defaults by programming them with all bits on. Note that the event registers are
not programmable but can be cleared by reading them.
Commands to reset registers
Command
Description
To reset registers:
*CLS
Reset bits of the event and NTR registers to 0 and
set all PTR register bits on. Also clears the output
queue.
status.reset()
Reset bits of the event and NTR registers to 0 and
set all PTR register bits on.
Programming and reading registers
Programming enable and transition registers
The only registers that you can program are the enable and transition registers. All other registers in
the status structure are read-only registers. The following explains how to determine the parameter
values for the various commands used to program enable registers. The actual commands are
summarized in
(on page D-1) and
(on page E-4).
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 bits to be set. The registers are
discussed further in
Enable and transition registers
(on page E-19).
Figure 171: 16-bit status register