User manual
Series 3700 System Switch/Multimeter Reference Manual Section 13: Instrument Control Library (ICL)
3700S-901-01 Rev. C / July 2008 13-267
status.measurement.*
.condition
.enable
.event
.ntr
.ptr
Remarks
These attributes are used to read or write to the measurement registers.
Reading a status register returns a value. The binary equivalent of the returned value
indicates which register bits are set. The least significant bit of the binary number is bit
0, and the most significant bit is bit 15.
For example, assume value 384 is returned for the register. The binary equivalent is
0000000100000001. This value indicates that bit B7(ROF) and bit B8 (BAV) are set.
The used bits of the measurement registers are described as follows:
To set bit B0 (LLMT1), set measreg to 1 (2
0
).
To set bit B1 (ULMT1): set measreg to 2 (2
1
).
To set bit B2 (LLMT2), set measreg to 4 (2
2
).
To set bit B3 (ULMT2), set measreg to 8 (2
3
).
To set bit B7 (ROF), set measreg to 128 (2
7
).
To set bit B8 (BAV), set measreg to 256 (2
8
).
Example
Sets the BAV bit of the measurement enable register:
status.measurement.enable
= status.measurement.BAV