Programming Enable And Transition Registers; Figure 8-8: 16-Bit Status Register - Keithley 3700 series Reference Manual

System switch/multimeter
Hide thumbs Also See for 3700 series:
Table of Contents

Advertisement

Section 8: Status Model
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
To reset registers:
status.reset()
To clear the error queue:
errorqueue.clear()

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>
8-8
Series 3700 System Switch/Multimeter Reference Manual
Description
Reset bits of status registers to 0.
Clear all messages from the error queue.
Document Number: 3700S-901-01 Rev. A / August 2007

Advertisement

Table of Contents
loading

Table of Contents