Event Function Group

Most high speed data acquisition operations run in the background, such as analog input with DMA or interrupt. The Device Drivers provide two ways to check the status of data acquisition operation.

The polling method is the first. For example, you can call the DRV_FAICheck function repeatedly to check the status of high speed analog input. The second is the event function group. After the event function is enabled, the Device Driver will signal an event when hardware interrupt occurs. It is not necessary to poll the status manually.

When you want to perform event operation in the high speed data transfer, call the DRV_EnableEvent function before beginning the high speed operation. Call DRV_CheckEvent to check the occurred event. After desired event is signaled, a personally prepared task may be used for the transfer, such as handling the input data, loading new data for output, stopping data conversion etc. For better performance it is highly recommended that the event is checked in a separate thread other than in the main thread of the application.

 



Notes: Please refer to individual manual for more detailed information.