12-96 Return to Section Topics 2600S-901-01 Rev. C / January 2008
Section 12: Instrument Control Library Series 2600 System SourceMeter® Instruments Reference Manual
status.questionable.instrument.*
status.questionable.instrument.condition
status.questionable.instrument.enable
status.questionable.instrument.event
status.questionable.instrument.ntr
status.questionable.instrument.ptr
* = condition, enable, event, ntr or ptr
Attribute Questionable instrument event register set.
Usage Reads condition, enable, event, NTR and PTR registers:
quesreg = status.questionable.instrument.condition
quesreg = status.questionable.instrument.enable
quesreg = status.questionable.instrument.event
quesreg = status.questionable.instrument.ntr
quesreg = status.questionable.instrument.ptr
Writes to enable, NTR and PTR registers:
status.questionable.instrument.enable = quesreg
status.questionable.instrument.ntr = quesreg
status.questionable.instrument.ptr = quesreg
Set operreg to one of the following values:
0 Clears all bits.
status.questionable.instrument.SMUA Sets SMUA bit (B1).
status.questionable.instrument.SMUB Sets SMUB (B2).
quesreg can also be set to the decimal weight of the bit to be set. Examples:
To set bit B1 (SMUA), set quesreg to 2 (2
1
).
To set bit B2 (SMUB), set quesreg to 4 (2
2
).
To set both bits, set quesreg to the sum of the decimal weights of both bits.
To set bits B1 and B2, set quesreg to 6 (2 + 4).
Remarks • This attribute is used to read or write to the questionable 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 questionable instrument registers are described as follows:
• Bit B1, SMUA – Set bit indicates one or more enabled bits for the SMU A
questionable register is set.
• Bit B2, SMUB – Set bit indicates one or more enabled bits for the SMU B
questionable register is set.
Details See “status.operation.user.condition = 2” in Appendix D.
Example Sets the SMUA bit of the questionable instrument enable register:
status.questionable.instrument.enable =
status.questionable.instrument.SMUA