Section 7: SCPI command reference
Model 2281S-20-6 DC Power Supply and Battery Simulator Reference Manual
7-158
077114601 / March 2019
:STATus:QUEStionable:ENABle
This command sets or reads the contents of the Questionable Event Enable Register of the status model.
Type
Affected by
Where saved
Default value
Command and query
Power cycle
Not applicable
0
Usage
:STATus:QUEStionable:ENABle <n>
:STATus:QUEStionable:ENABle?
[n]
The value of the Questionable Status Enable Register
Details
This command sets or reads the contents of the enable register of the Questionable Event Register.
When one of these bits is set and the corresponding bit in the Questionable Event Register is set, the
QSM bit in the Status Byte Register is set.
When sending binary values, preface
<n>
with
#b
. When sending hexadecimal values, preface
<n>
with
#h
. No preface is needed when sending decimal values.
Example
:STAT:QUES:ENAB #b0010000000000000
Sets the operation Status Enable Register
using a binary value.
You could also send the decimal value
8192
or the hexadecimal value
#h2000
.
Also see
(on page D-14)
:STATus:QUEStionable:INSTrument[:EVENt]?
This command reads and clears the Questionable Instrument Event Register of the status model.
Type
Affected by
Where saved
Default value
Query only
Not applicable
Not applicable
Not applicable
Usage
:STATus:QUEStionable:INSTrument[:EVENt]?
Details
This attribute reads the Questionable Instrument Event Register of the status model and then clears
the register.
The instrument returns a decimal value that corresponds to the binary-weighted sum of all bits set in
the register. For details, see
Questionable Instrument Event Register
(on page D-15).
Also see
None