![background image](http://html2.mh-extra.com/html/keithley/sourcemeter-2601/sourcemeter-2601_reference-manual_4018913343.webp)
2600S-901-01 Rev. C / January 2008
Return to
12-83
Series 2600 System SourceMeter® Instruments Reference Manual
Section 12: Instrument Control Library
status.measurement.instrument.smuX.*
status.measurement.instrument.smuX.condition
status.measurement.instrument.smuX.enable
status.measurement.instrument.smuX.event
status.measurement.instrument.smuX.ntr
status.measurement.instrument.smuX.ptr
* = condition, enable, event, ntr or ptr
smuX = smua or smub
Attribute
Measurement SMU event status register set.
Usage
Reads condition, enable, event, NTR and PTR registers:
measreg = status.measurement.instrument.smuX.condition
measreg = status.measurement.instrument.smuX.enable
measreg = status.measurement.instrument.smuX.event
measreg = status.measurement.instrument.smuX.ntr
measreg = status.measurement.instrument.smuX.ptr
Writes to enable, NTR and PTR registers:
status.measurement.instrument.smuX.enable = measreg
status.measurement.instrument.smuX.ntr = measreg
status.measurement.instrument.smuX.ptr = measreg
Set
measreg
to one of the following values:
0
Clears all bits.
status.
measurement
.VOLTAGE_LIMIT
Sets VLMT bit (B0).
status.
measurement
.VLMT
Sets VLMT bit (B0).
status.
measurement
.CURRENT_LIMIT
Sets ILMT bit (B1).
status.
measurement
.ILMT
Sets ILMT bit (B1).
status.
measurement
.READING_OVERFLOW
Sets ROF (B7).
status.
measurement
.ROF
Sets ROF (B7).
status.
measurement
.BUFFER_AVAILABLE
Sets BAV (B8).
status.
measurement
.BAV
Sets BAV (B8).
measreg
can also be set to the decimal weight of the bit to be set. Examples:
To set bit B0 (VLMT), set
measreg
to 1 (2
0
).
To set bit B1 (ILMT), set
measreg
to 2 (2
1
).
To set bit B8 (BAV), set
measreg
to 256 (2
8
).
To set more than one bit of the register, set
measreg
to the sum of their decimal weights.
For example, to set bits B0 and B8, set
measreg
to 257 (1 + 256).
Remarks
• This attribute is used to read or write to the measurement SMU event 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 257 is returned for the enable register. The binary equivalent
is 0000000100000001. This value indicates that bit B0 (VLMT) and bit B8 (BAV) are set.
• The used bits of the measurement SMU event registers are described as follows:
•
Bit B0, VLMT
– Set bit indicates that the voltage limit was exceeded. This bit will be
updated only when a measurement is taken or
smuX.source.compliance
is
invoked.
•
Bit B1, ILMT
– Set bit indicates that the current limit was exceeded. This bit will be
updated only when a measurement is taken or
smuX.source.compliance
is
invoked.
•
Bit B7, ROF
–
Set bit indicates that an overflow reading has been detected.
•
Bit B8, BAV
–
Set bit indicates that there is at least one reading stored in either or
both of the non-volatile reading buffers.
Details
See “
.
Example
Sets the BAV bit of the measurement SMU A enable register:
status.measurement.instrument.smuX.enable = status.measurement.BAV