12-100 Instrument Control Library Series 2600 System SourceMeters Reference Manual
2600S-901-01 Rev. A / May 2006 Return to Section 12 topics
status.measurement.instrument.*
status.measurement.instrument.condition
status.measurement.instrument.enable
status.measurement.instrument.event
status.measurement.instrument.ntr
status.measurement.instrument.ptr
* = condition, enable, event, ntr or ptr
Attribute Measurement instrument event register set.
Usage Reads condition, enable, event, NTR and PTR registers:
measreg = status.measurement.instrument.condition
measreg = status.measurement.instrument.enable
measreg = status.measurement.instrument.event
measreg = status.measurement.instrument.ntr
measreg = status.measurement.instrument.ptr
Writes to enable, NTR and PTR registers:
status.measurement.instrument.enable = measreg
status.measurement.instrument.ntr = measreg
status.measurement.instrument.ptr = measreg
Set measreg to one of the following values:
0 Clears all bits.
status.measurement.instrument.SMUA Sets SMUA bit (B1).
status.measurement.instrument.SMUB Sets SMUB (B2).
measreg can also be set to the decimal weight of the bit to be set. Examples:
To set bit B1 (SMUA), set measreg to 2 (2
1
).
To set bit B2 (SMUB), set measreg to 4 (2
2
).
To set both bits, set measreg to the sum of the decimal weights of both bits. To set
bits B1 and B2, set
measreg to 6 (2 + 4).
Remarks
• This attribute is used to read or write to the measurement instrument 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 6 is returned for the enable register. The binary
equivalent is 0000000000000110. This value indicates that bit B1 (SMUA) and bit B2
(SMUB) are set.
• The used bits of the measurement instrument registers are described as follows:
• Bit B1, SMUA – Set bit indicates one or more enabled bits for the SMU A
measurement register is set.
• Bit B2, SMUB – Set bit indicates one or more enabled bits for the SMU B
measurement register is set.
Details See “Measurement Event Registers” in Appendix D.
Example Sets the SMUA bit of the measurement instrument enable register:
status.measurement.instrument.enable =
status.measurement.instrument.SMUA