:STATus:TRIGger:EVENt?
Query Syntax
:STATus:TRIGger:EVENt?
Description
Reads the trigger event register to determine the status of individual status bits. The decimal-weighted value of the register is returned. The only bit used is bit 0 (TRG), which indicates if a trigger has been received. Reporting of event register bits in the status register system is controlled by the mask loaded into the enable register. All true event bits, that are enabled, are logically AND'ed, which results in setting true bit 0 (TRG) of the Status Byte Register. The TRG event register stays set until it is cleared by reading the register or using the *CLS (clear status) command. If your application needs to detect multiple triggers, clear the trigger event register after each trigger. If you are using the Service Request to interrupt a computer operation when the trigger bit is set, you must clear the event register after each time it is set.
Register | Read | Write | Command |
---|---|---|---|
Event | ♦ | :STATus:TRIGger:EVENt? | |
Enable (mask) | ♦ | ♦ | :STATus:TRIGger:ENABle |
Bit | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|
Bit Weight |
128 | 64 | 32 | 16 | 8 | 4 | 2 | 1 |
Event Register |
— | — | — | — | — | — | — | TRG |
Enable Register |
||||||||
Sets | to Bit 0 (TRG) of Status Byte Register |
Bit Definitions
- TRG
- A true indicates that a trigger has been received.