status
Description
Returns the status of the AWG.
Syntax
UInt32 status
Read
Gets the status of the device. Refer to table below for description of status configurations.
Example
unsigned deviceStatus;
deviceStatus = awg.status;
Write
Read-Only
Values
| Decimal | Hex Code | Binary Code | Status |
| 1 | 0x1 | 00000001 | Armed |
| 2 | 0x2 | 00000010 | Triggered |
| 4 | 0x4 | 00000100 | In Loop |
| 8 | 0x8 | 00001000 | Auto-Armed |
| 64 | 0x40 | 01000000 | Infinite Loop |
Note that the device can be simutaneously be in multiple states. In binary code, each "1" bit represents a state. If there is more than one state, then the binary code will have multiple "1" bits. For example if the device was Armed, Triggered, In Loop and Auto-Armed, then the binary code would be "00001111". Status can be output in any format so it is best to output it in binary code.