Status.operation.event; Status.operation.getmap() - Keithley 2450 Reference Manual

Interactive sourcemeter instrument
Table of Contents

Advertisement

Section 8: TSP command reference

status.operation.event

This attribute reads the Operation Event Register of the status model.
Type
TSP-Link accessible
Attribute (R)
Yes
Usage
operationRegister = status.operation.event
operationRegister
Details
This attribute reads the operation event register of the status model.
The instrument returns a decimal value that corresponds to the binary-weighted sum of all bits set in the register.
Example 1
-- decimal 20480 = binary 0101 0000 0000 0000
operationRegister = 20480
status.operation.enable = operationRegister
Also see
Operation Event Register

status.operation.getmap()

This attribute requests the mapped set event and mapped clear event status for a bit in the Operation Event
Registers.
Type
TSP-Link accessible
Function
Yes
Usage
setEvent, clearEvent = status.operation.getmap(bitNumber)
setEvent
clearEvent
bitNumber
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.operation.getmap(9))
Also see
Operation Event Register
status.operation.setmap()
8-156
Model 2450 Interactive SourceMeter® Instrument Reference Manual
Affected by
Not applicable
The status of the operation status register
(on page C-8)
Affected by
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
(on page C-8)
(on page 8-157)
Where saved
Default value
Not applicable
Not applicable
Sets the 12 and 14 bits of the operation
status enable register using a decimal
value.
Where saved
Default value
Query bit 9 of the Operation Event
Register.
2450-901-01 Rev. B/September 2013

Advertisement

Table of Contents
loading

Table of Contents