STATus Subsystem
The STATus subsystem controls the
Note Transition filters are always set for positive edge transitions. When an event occurs, the condition is set and the event register bit is set true. If the event condition is cleared, the event status register remains set. The event status register is cleared upon reading that register.
Each status register works as follows: when a condition occurs, the appropriate bit in the condition register is set or cleared. The contents of the events register and the enable mask are logically ANDed
Syntax | STATus |
|
| :OPERation |
|
| :CONDition? | |
| :ENABle <mask> | |
| :ENABle? | |
| [:EVENt]? | |
| :PSUMmary:CONDition? | |
| :PSUMmary:ENABle <mask> | |
| :PSUMmary:ENABle? | |
| :PSUMmary[:EVENt]? | |
| :PRESet | |
| :QUEStionable |
|
| :CONDition? | |
| :ENABle <mask> | |
| :ENABle? | |
| [:EVENt]? |
The STATus system contains five registers, two of which are under IEEE 488.2 control: the Event Status Register (*ESE?) and the Status Byte Register (*STB?). The Operational Status bit (OPR), Service Request bit (RQS), Event Summary bit (ESB), Message Available bit (MAV) and Questionable Data bit (QUE) in the Status Byte Register (bits 7, 6, 5, 4 and 3 respectively) can be queried with the *STB? command. Use the *ESE? command to query the unmask value for the Event Status Register (the bits you want logically "OR'd" into the Summary bit). The registers are queried using decimal weighted bit values. The decimal equivalents for bits 0 through 15 are included in Figure
Note The Questionable Status Condition, Event, and Enable registers exist for SCPI compliance only. No status bits are defined or reported in these registers.
60 HP E1459A SCPI Command Reference