AI_AsyncDblBufferHalfReady Previous topicNext topicFirst topicLast topic

AI_AsyncDblBufferHalfReady

@ Description

Checks whether the next half buffer of data in circular buffer is ready for transfer during an asynchronous double-buffered analog input operation.

@ Cards Support

9111, 9112, 9113, 9114, 9118, 9812/10

@ Syntax
 
I16 AI_AsyncDblBufferHalfReady (U16 CardNumber, BOOLEAN *HalfReady, BOOLEAN *StopFlag)

@ 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 AI_AsyncDblBufferTransfer() to
                     copy the data to your user buffer. (constants TRUE and FALSE are defined in DASK.H)
StopFlag     : Whether the asynchronous analog input operation has completed. If StopFlag = TRUE, the analog input operation has
                    stopped. If StopFlag = FALSE, the operation is not yet complete. (constants TRUE and FALSE are defined in
                    DASK.H)

@ Return Code

NoError, ErrorInvalidCardNumber, ErrorCardNotRegistered, ErrorFuncNotSupport