Interactive SourceMeter® Instrument Reference Manual Section 8: TSP command
2461-901-01 A/November 2015 8-225
Example
print(status.operation.getmap(0))
Query bit 0 of the Operation Event
Register.
Example output:
Also see
Operation Event Register (on page C-8)
status.operation.setmap() (on page 8-225)
status.operation.setmap()
This function 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 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.