8-108 Command Reference
:STATus :OPERation :ENABle
8 <Decimal data>
Enable Operation Status Reporting
Sets the enable bits of the operation status enable register. This enable register
contains a mask value for the bits to be enabled in the operation status event reg
-
ister. A bit that is set true in the enable register enables the corresponding bit in the
status register. See figure on page 8-107.
An enabled bit will set bit #7, OPR (Operation Status Bit), in the Status Byte Regis
-
ter if the enabled event occurs. See also status reporting on page 3-10.
Power-on will clear this register if power-on clearing is enabled via *PSC.
Parameters: <dec.data> = the sum (between 0 and 368) of all bits that are true. See ta
-
ble below:
Bit No. Weight Condition
8 256
No measurement
664
Waiting for bus arming
532
Waiting for triggering and/or external arming
416
Measurement
Returned Format: <Decimal data>¿
Example:
SEND®
:STAT:OPER:ENAB 8 288
In this example, waiting for triggering, bit 5, and Measurement stopped, bit 8, will
set the OPR-bit of the Status Byte. (This method is faster than using *OPC if you
want to know when the measurement is ready.)
Complies with standards: SCPI 1991.0, confirmed.