User`s manual
Application Hints 47
PCIS-DASK
Analog Input
Non-Trigger Double-buffered Asynchronous Continuous
Analog Input
This section describes the function flow typical of non-trigger, dou-
ble-buffered asynchronous analog input operation. While perform-
ing continuous AI operation, the AI configuration function has to be
called at the beginning of your application. For asynchronous AI,
The SyncMode argument in continuous AI functions has to be set
to ASYNCH_OP. In addition, double-buffered AI operation is
enabled by setting Enable argument of AI_AsyncDblBufferMode
function to 1. For more information on double buffer mode, refer to
section 5.2.
NO
AI_ContReadChannel/
AI_ContReadChannelToFile
AI_ContScanChannels/
AI_ContScanChannelsToFile
Sample multiple
continuous channels?
AI_AsyncDblBufferMode
NOYES
Next half buffer
ready for transfer?
AI_AsyncDblBuffer
Transfer
YES
With SyncMode
= ASYNCH_OP
AI_AsyncDblBuffer
HalfReady
Do you want to
stop the operation?
AI_AsyncClear
YES
With Enable = TRUE
AI_XXXX_Config
(XXXX = card type)
With SyncMode
= ASYNCH_OP
NO