8: TSP command reference Model 2450 Interactive SourceMeter® Instrument
8-158 2450-901-01 Rev. B/September 2013
status.questionable.condition
This attribute reads the Questionable Condition Register of the status model.
Type TSP-Link accessible Affected by Where saved Default value
Attribute (R) Yes Not applicable Not saved Not applicable
Usage
questionableRegister = status.questionable.condition
The value of the register (0 to 65535)
Details
This command reads the contents of the Questionable Condition Register, which is one of the Questionable
Event Registers.
For detail on interpreting the value of a register, see Understanding bit settings (on page C-15
).
Example
print(status.questionable.condition)
Reads the Questionable Condition Register.
Also see
Questionable Event Register (on page C-7)
Understanding bit settings (on page C-15)
status.questionable.enable
This attribute sets or reads the contents of the questionable event enable register of the status model.
Type TSP-Link accessible Affected by Where saved Default value
Attribute (RW) Yes status.preset()
memory
0
Usage
questionableRegister = status.questionable.enable
status.questionable.enable = questionableRegister
The value of the register (0 to 65535)
Details
This command sets or reads the contents of the Enable register of the Questionable Event Register.
When one of these bits is set, when the corresponding bit in the Questionable Event Register or Questionable
Condition Register is set, the MSB and QSM bits in the Status Byte Register is set.
For detail on interpreting the value of a register, see Understanding bit settings (on page C-15
).
Example
status.questionable.enable = 17
print(status.questionable.enable)
Set bits 0 and 4 of the Questionable Event
Enable Register.
Returns 17, which indicates the register was
Also see
Questionable Event Register (on page C-7)