User`s manual
Application Hints 59
PCIS-DASK
Digital Input Programming Hints
Non-double-buffered Asynchronous Continuous Digital
Input
This section describes the function flow typical of non-double-buff-
ered asynchronous digital input operation. While performing con-
tinuous DI operation, the DI configuration function has to be called
at the beginning of the application. For asynchronous DI opera-
tion, the SyncMode argument in continuous DI functions has to be
set to ASYNCH_OP.
DI_XXXX_Config
(XXXX = card type)
DI_ContReadPort /
DI_ContReadPortToFile
With SyncMode = SYNCH_OP
Operation
completed?
YES
NO
DI_AsyncCheck
DI_AsyncCheck