
Section 8: TSP command reference
Model 2461 Interactive SourceMeter® Instrument Reference Manual
8-228
2461-901-01 A/November 2015
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()
Not applicable
0
Usage
questionableRegister
= status.questionable.enable
status.questionable.enable =
questionableRegister
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 are set.
For detail on interpreting the value of a register, see
(on page C-16).
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
set correctly.
Also see
(on page C-7)
status.questionable.event
This attribute reads the Questionable Event Register.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Attribute (R)
Yes
Not applicable
Not applicable
Not applicable
Usage
questionableRegister
= status.questionable.event
questionableRegister
The value of the questionable status register (0 to 65535)
Details
This query reads the contents of the questionable status event register. After sending this command
and addressing the instrument to talk, a value is sent to the computer. This value indicates which bits
in the appropriate register are set.
The Questionable Register can be set to the numeric equivalent of the bit to set. To set more than
one bit of the register, set the Questionable Register to the sum of their decimal weights. For
example, to set bits B12 and B13, set the Questionable Register to 12,288 (which is the sum of 4,096
+ 8,192).