2600S-901-01 Rev. C / January 2008
Return to
12-81
Series 2600 System SourceMeter® Instruments Reference Manual
Section 12: Instrument Control Library
status.measurement.current_limit.*
status.measurement.current_limit.condition
status.measurement.current_limit.enable
status.measurement.current_limit.event
status.measurement.current_limit.ntr
status.measurement.current_limit.ptr
* = condition, enable, event, ntr or ptr
Attribute
Measurement current limit event register set.
Usage
Reads condition, enable, event, NTR and PTR registers:
measreg = status.measurement.current_limit.condition
measreg = status.measurement.current_limit.enable
measreg = status.measurement.current_limit.event
measreg = status.measurement.current_limit.ntr
measreg = status.measurement.current_limit.ptr
Writes to enable, NTR and PTR registers:
status.measurement.current_limit.enable = measreg
status.measurement.current_limit.ntr = measreg
status.measurement.current_limit.ptr = measreg
Set
measreg
to one of the following values:
0
Clears all bits.
status.
measurement
.
current_limit
.SMUA
Sets SMUA bit (B1).
status.
measurement
.
current_limit
.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 current limit 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 current limit registers are described as follows:
•
Bit B1, SMUA
– Set bit indicates the enabled ILMT bit for the SMU A measurement
register is set.
•
Bit B2, SMUB
– Set bit indicates the enabled ILMT bit for the SMU B measurement
register is set.
Details
See “
.
Example
Sets the SMUA bit of the measurement current limit enable register:
status.measurement.current_limit.enable =
status.measurement.current_limit.SMUA