Section 6: SCPI command reference
Model 2450 Interactive SourceMeter® Instrument Reference Manual
6-90
2450-901-01 Rev. B/September 2013
Details
This command sets or reads the contents of the Enable register of the Operation Event Register.
When one of these bits is set, when the corresponding bit in the Operation Event Register or Operation Condition
Register is set, the OSB bit in the Status Byte Register is set.
When sending binary, preface
<n>
with
#b
. When sending hexadecimal, preface
<n>
with
#h
. No preface is
needed when sending decimal values.
Example
:STAT:OPER:ENAB #b0101000000000000
Sets the 12 and 14 bits of the operation
status enable register using a decimal
value.
You could also send the decimal value:
:STAT:OPER:ENAB 20480
Or the hexadecimal value:
:STAT:OPER:ENAB #h5000
Also see
(on page C-8)
:STATus:OPERation[:EVENt]?
This command reads the Operation Event Register of the status model.
Type
Affected by
Where saved
Default value
Query only
Not applicable
Not applicable
Not applicable
Usage
:STATus:OPERation[:EVENt]?
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
stat:oper?
Returns the contents of the Operation Event
Register of the status model.
Also see
(on page C-8)