User`s manual

72 Application Hints
PCIS-DASK
Digital Output Programming Hints
Multiple-buffered Asynchronous Continuous Digital
Output
This section describes the function flow typical of multi-buffered
asynchronous digital output operation. While performing continu-
ous DO operation, the DO configuration function has to be called
at the beginning of the application. For asynchronous DO, the
SyncMode argument in continuous DO functions has to be set as
ASYNCH_OP.
DO_XXXX_Config
(XXXX = card type)
DO_ContMultiBufferSetup repeatedly…
Next half buffer
ready?
YES
NO
DO_ContMultiBufferStart
DO_AsyncMultiBufferNextReady
YES
Stop the operation?
YES
Copy prepared data to the ready buffer
NO
DO_AsyncClear