INT32S DRV_ClearFlag( PTR_T DeviceHandle, INT32U dwEventType );
On the device indicated by the DeviceHandle, it clears the event flag of specified EventType code.
| Name | Direction | Range | Description |
| DeviceHandle | input | default | The pointer retrieved from the DRV_DeviceOpen which specifies the target device. |
| EventType* | input | default | The event type options are: ADS_EVT_AI_OVERRUN : FDI overrrun and buffer ready flags. ADS_EVT_AO_UNDERRUN: FDO underrun and buffer transferred flags. ADS_EVT_AI_LOBUFREADY: FDI low half buffer ready flag. ADS_EVT_AI_HIBUFREADY: FDI high half buffer ready flag. ADS_EVT_AO_LOBUFTRANS: FDO low half buffer transferred flag. ADS_EVT_AO_HIBUFTRANS: FDO high half buffer transferred flag.
|
| 1. 0 | Successful. |
| 2. other value | Please reference ErrorCodes |