DI_AsyncDblBufferHalfReady | ![]() ![]() ![]() ![]() |
DI_AsyncDblBufferHalfReady
@ Description
Checks whether the next half buffer of data in circular buffer is ready for transfer during an asynchronous double-buffered digital input operation.
@ Cards Support
7200
@ Syntax
I16 DI_AsyncDblBufferHalfReady (U16 CardNumber, BOOLEAN *HalfReady)
@ Parameter
CardNumber : The
card id of the card that performs the asynchronous double-buffered operation.
HalfReady : Whether the
next half buffer of data is available.
If HalfReady = TRUE, you can call DI_AsyncDblBufferTransfer() to
copy the data to your user buffer.
(constants TRUE and FALSE are defined in dask.h).
@ Return Code
NoError, ErrorInvalidCardNumber,
ErrorCardNotRegistered, ErrorFuncNotSupport