![background image](http://html2.mh-extra.com/html/keithley/interactive-sourcemeter-2450/interactive-sourcemeter-2450_reference-manual_4033478690.webp)
Model 2450 Interactive SourceMeter® Instrument Reference Manual
Section 8: TSP command reference
2450-901-01 Rev. B/September 2013
8-159
status.questionable.event
This attribute reads the questionable event register.
Type
TSP-Link accessible
Affected by
Where saved
Default value
.event (R)
Yes
Not applicable
Not applicable
Not applicable
Usage
questionableRegister
= status.questionable.event
questionableRegister
The value of the questionable status register (0 to 65535)
Example 1
-- decimal 66 = binary 0100 0010
questionableRegister = 66
status.questionable.enable = questionableRegister
Uses a decimal value to set bits B1 and
B6 of the status questionable enable
register.
Example 2
-- decimal 2560 = binary 00001010 0000 0000
questionableRegister = 2560
status.questionable.enable = questionableRegister
Uses a decimal value to set bits B9 and
B11 of the status questionable enable
register.
Also see
(on page C-7)
status.questionable.getmap()
This attribute requests the mapped set event and mapped clear event status for a bit in the Questionable Event
Registers.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function
Yes
Usage
setEvent
,
clearEvent
= status.questionable.getmap(
bitNumber
)
setEvent
The event mapped to set this bit; 0 if no mapping
clearEvent
The event mapped to clear this bit; 0 if no mapping
bitNumber
The bit number to check
Details
When you query the mapping for a specific bit, the instrument returns the events that were mapped to
set and clear that bit. Zero (0) indicates that the bits have not been set.
Example
print(status.questionable.getmap(9))
Returns the events that were mapped to set
and clear bit 9.
Also see
(on page 8-160)
(on page C-7)