8: TSP command reference Model 2450 Interactive SourceMeter® Instrument
8-160 2450-901-01 Rev. B/September 2013
status.questionable.setmap()
This attribute 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 being mapped to an event
The event that will set the bit
The event that will clear the bit
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.
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.
When a mapped event is programmed to clear bits, the bit in the condition register is set to 0 when the event is
detected.
If the event is set to zero (0), the bit is never set.
Also see
status.questionable.getmap() (on page 8-159)
status.request_enable
This attribute stores the settings of the Service Request (SRQ) Enable Register.
Type TSP-Link accessible Affected by Where saved Default value
Usage
SRQEnableRegister = status.request_enable
status.request_enable = SRQEnableRegister
The status of the service request (SRQ) enable register; a zero (0)
indicates no bits set (also send 0 to clear all bits); other values indicate
various bit settings (0 to 255)