Interactive SourceMeter® Instrument Reference Manual Section 8:
2450-901-01 Rev. B/September 2013 8-157
status.operation.setmap()
This attribute maps events to bits in the Operation Event Register.
Type TSP-Link accessible
Affected by Where saved Default value
Usage
status.operation.setmap(bitNumber, setEvent)
status.operation.setmap(bitNumber, setEvent, clearEvent)
The bit number that is being mapped to an event
The event of the event that sets the bits in the condition and event registers (−
The event of the event that clears the bit in the condition register (
−
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.
Example
status.operation.setmap(0, 5000, 5020)
When event 5000 occurs, bit 0 in the
condition and event registers of the
Operation Event Register are set. When
event 5020 occurs, bit 0 in the condition
Also see
Operation Event Register (on page C-8)
Programmable status register sets (on page C-5)
status.operation.getmap() (on page 8-156)