Status.operation.setmap() - Keithley 2450 Reference Manual

Interactive sourcemeter instrument
Table of Contents

Advertisement

Model 2450 Interactive SourceMeter® Instrument Reference Manual

status.operation.setmap()

This attribute maps events to bits in the Operation Event Register.
Type
TSP-Link accessible
Function
Yes
Usage
status.operation.setmap(bitNumber, setEvent)
status.operation.setmap(bitNumber, setEvent, clearEvent)
bitNumber
setEvent
clearEvent
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)
Also see
Operation Event Register
Programmable status register sets
status.operation.getmap()
2450-901-01 Rev. B/September 2013
Affected by
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 (−440 to
5800)
The event of the event that clears the bit in the condition register (−440 to 5800)
(on page C-8)
(on page C-5)
(on page 8-156)
Section 8: TSP command reference
Where saved
Default value
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
register is cleared.
8-157

Advertisement

Table of Contents
loading

Table of Contents