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

1kw pulse mode 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
status.operation.setmap(0, 4917, 4916)
defbuffer1.capacity = 10
smu.measure.count = 10
smu.measure.read()
print(status.operation.event)
Also see
Operation Event Register

status.operation.getmap()

This function 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.
8-224
Model 2461 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
Where saved
Not applicable
Maps event number 4917 (Buffer Full) to
set bit 0 in the Operation Event Register
and event number 4916 (Buffer Empty)
to clear bit 0. Resizes defbuffer1 to
10 readings.
Sets the measure count to 10 readings
and makes a measurement.
Reads the operation event register.
Output:
0
Where saved
Default value
Not applicable
Default value
2461-901-01 A/November 2015

Advertisement

Table of Contents
loading

Table of Contents