Appendix C: Status model
Series 3700A System Switch/Multimeter Reference Manual
C-14
3700AS-901-01 Rev. D/June 2018
Startup state
When the System Switch/Multimeter is turned on, various register status elements are set as follows:
•
The power on (PON) bit in the
status.operation.condition
register is set.
•
Other bits are set appropriately based on the instrument's power-on configuration.
•
All enable registers (.enable) are set to 0.
•
All negative transition registers (.ntr) are set to 0.
•
All used positive transition registers (.ptr) bits are set to 1.
•
The two queues are empty.
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 C-13).
A command to program an event enable or transition register is sent with a parameter value that
determines the 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 C-19).
Figure 187: 16-bit status register
When using a numeric parameter, registers are programmed by including the appropriate
<mask>
value. For example:
*ese 1169
status.standard.enable = 1169
To convert from decimal to binary, use the information shown in the above figure. For example, to set
bits B0, B4, B7, and B10, a decimal value of 1169 would be used for the mask parameter (1169 = 1 +
16 + 128 + 1024).