2600AS-901-01 Rev. B / September 2008 Return to Section Topics 19-157
Series 2600A System SourceMeter® Instruments Reference Manual Section 19: Remote Commands
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.instrument.smuX.VOLTAGE_LIMIT Sets VLMT bit (B0).
status.measurement.instrument.smuX.VLMT Sets VLMT bit (B0).
status.measurement.instrument.smuX.CURRENT_LIMIT Sets ILMT bit (B1).
status.measurement.instrument.smuX.ILMT Sets ILMT bit (B1).
status.measurement.instrument.smuX.READING_OVERFLOW Sets ROF bit (B7).
status.measurement.instrument.smuX.ROF Sets ROF bit (B7).
status.measurement.instrument.smuX.BUFFER_AVAILABLE Sets BAV bit (B8).
status.measurement.instrument.smuX.BAV Sets BAV bit (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 • These attributes are used to read or write to the measurement event SMU X 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 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 event SMU X summary 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
dedicated reading buffers.
Details See Status model (measurement event registers) in Appendix C.
Example Sets the BAV bit of the measurement event SMU X summary enable register:
status.measurement.instrument.smua.enable =
status.measurement.instrument.smua.BAV