User`s guide

36
PCIS-DASK Application Hints
5.1.3 Non-Trigger Non-double-buffered Asynchronous
Continuous Analog input programming Scheme
This section described the function flow typical of non-trigger, non-double-
buffered asynchronous analog input operation. While performing continuous AI
operation, the AI configuration function has to be called at the beginning of
your application. In addition, for asynchronous AI, the SyncMode argument in
continuous AI functions has to be set as ASYNCH_OP.
AI_xxxx_Config
(xxxx means the card type,
e.g. AI_9112_Config)
No
AI_AsyncCheck
Operation complete?
Yes
AI_AsyncClear
Sample multiple
continuous chans?
NoYes
AI_ContReadChannel /
AI_ContReadChannel ToFile
AI_ContScanChannels/
AI_ContScanChannelsToFile
With SyncMode
=ASYNCH_OP
With SyncMode
=ASYNCH_OP