C: Status model Model 2461 Interactive SourceMeter® Instrument
C-8 2461-901-01 A/November 2015
Operation Event Register
You can program the bits in the Operation Condition and Operation Event Status Registers to be
cleared or set when an event occurs.
When an enabled Operation Event Register bit is set (because the enabled event occurs), the
corresponding bit B7 (OSB) of the Status Byte Register is set. The corresponding Operation Event
Register Condition Register reflects the present status of the instrument, so it will be set while the
event occurs.
You can use the following commands to read and set bits contained in the Operation Event Register.
Description SCPI command TSP command
Read the Operation
:STATus:OPERation:CONDition? (on
status.operation.condition (on page
Set or read the contents of
the Operation Event Enable
:STATus:OPERation:ENABle (on page
6-134)
status.operation.enable (on page 8-
223)
Read the Operation Event
:STATus:OPERation[:EVENt]?
status.operation.event (on page 8-
event and mapped clear
event status for a bit in the
Operation Event Registers
:STATus:OPERation:MAP (on page 6-
135)
status.operation.getmap() (on page
8-224)
Map events to bit in the
Operation Event Register
:STATus:OPERation:MAP (on page 6-
135)
status.operation.setmap() (on page
8-225)
The instrument returns a decimal value that corresponds to the binary-weighted sum of all bits set in
the register. See Event numbers (on page C-10) for information about event numbers. You can use a
copy of the following table to record settings for your instrument.
Bit
Decimal
value
Set Event Clear Event When set, indicates the following
has occurred: