Series 2600B System SourceMeter® Instrument Reference Manual
Section 7: TSP command reference
2600BS-901-01 Rev. C / August 2016
7-281
Usage
measurementRegister
= status.measurement.current_limit.condition
measurementRegister
= status.measurement.current_limit.enable
measurementRegister
= status.measurement.current_limit.event
measurementRegister
= status.measurement.current_limit.ntr
measurementRegister
= status.measurement.current_limit.ptr
status.measurement.current_limit.enable =
measurementRegister
status.measurement.current_limit.ntr =
measurementRegister
status.measurement.current_limit.ptr =
measurementRegister
measurementRegister
The status of the measurement event current limit summary register; a zero (0)
indicates no bits set (also send 0 to clear all bits); other values indicate various
bit settings
Details
These attributes are used to read or write to the measurement event current limit summary 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 B0, and the most significant bit
is bit B15.
For example, assume value 6 is returned for the enable register. The binary equivalent is
0000 0000 0000 0110. This value indicates that bit B1 (SMUA) and bit B2 (SMUB) are set.
For information about .condition, .enable, .event, .ntr, and .ptr registers, refer to
Enable and transition registers
(on page E-19). The individual bits of this
register are defined in the following table.
Bit
Value
Description
B0
Not used
Not applicable.
B1
status.measurement.current_limit.SMUA
Set bit indicates that the SMU A current limit
was exceeded.
Bit B1 decimal value: 2
Binary value: 0000 0010
B2
status.measurement.current_limit.SMUB
This bit is only available on Models
2602B/2604B/2612B/2614B/2634B/2636B. Set
bit indicates that the SMU B current limit was
exceeded.
Bit B2 decimal value: 4
Binary value: 0000 0100
B3-B15
Not used
Not applicable.
As an example, to set bit B1 of the measurement event current limit summary enable register, set
status.measurement.current_limit.enable =
status.measurement.current_limit.SMUA
.
In addition to the above constants,
measurementRegister
can be set to the decimal equivalent of
the bit to set. To set more than one bit of the register, set
measurementRegister
to the sum of
their decimal weights. For example, to set bits B1 and B2, set
measurementRegister
to 6 (which is
the sum of 2 + 4).
Example
status.measurement.current_limit.enable =
status.measurement.current_limit.SMUA
Sets the SMUA bit of the
Measurement Event Current Limit
Summary Enable Register.