Status.questionable.enable; Status.questionable.event - Keithley 2461 Reference Manual

1kw pulse mode interactive sourcemeter instrument
Table of Contents

Advertisement

Section 8: TSP command reference

status.questionable.enable

This attribute sets or reads the contents of the questionable event enable register of the status model.
Type
TSP-Link accessible
Attribute (RW)
Yes
Usage
questionableRegister = status.questionable.enable
status.questionable.enable = questionableRegister
questionableRegister
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
Example
status.questionable.enable = 17
print(status.questionable.enable)
Also see
Questionable Event Register

status.questionable.event

This attribute reads the Questionable Event Register.
Type
TSP-Link accessible
Attribute (R)
Yes
Usage
questionableRegister = status.questionable.event
questionableRegister
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).
8-228
Model 2461 Interactive SourceMeter® Instrument Reference Manual
Affected by
status.preset()
The value of the register (0 to 65535)
(on page C-7)
Affected by
Not applicable
The value of the questionable status register (0 to 65535)
Where saved
Not applicable
Understanding bit settings
Set bits 0 and 4 of the Questionable Event
Enable Register.
Returns 17, which indicates the register was
set correctly.
Where saved
Not applicable
Default value
0
(on page C-16).
Default value
Not applicable
2461-901-01 A/November 2015

Advertisement

Table of Contents
loading

Table of Contents