High Voltage SourceMeter Instrument Reference Manual Section 14:
2470-901-01 Rev. A / May 2019 14-187
status.questionable.getmap()
This function 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
Usage
setEvent, clearEvent = status.questionable.getmap(bitNumber)
The event mapped to set this bit; 0 if no mapping
The event mapped to clear this bit; 0 if no mapping
The bit number to check (0 to 14)
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
Questionable Event Register (on page B-6)
status.questionable.setmap() (on page 14-187)
status.questionable.setmap()
This function maps events to bits in the questionable event registers.
Type TSP-Link accessible
Affected by Where saved Default value
Usage
status.questionable.setmap(bitNumber, setEvent)
status.questionable.setmap(bitNumber, setEvent, clearEvent)
The bit number that is mapped to an event (0 to 14)
The number of the event that sets the bits in the condition and event registers; 0 if no
mapping
The number of the event that clears the bit in the condition register; 0 if no mapping
Details
You can map events to bits in the event registers with this command. This allows you to cause bits in
the condition and event registers to be set or cleared when the specified events occur. You can use
any valid event number as the event that sets or clears bits.
When a mapped event is programmed to set bits, the corresponding bits in both the condition register
and event register are set when the event is detected.