AI_AsyncClear | ![]() ![]() ![]() ![]() |
AI_AsyncClear
@ Description
Stop the asynchronous analog input operation.
@ Cards Support
9111, 9112, 9113, 9114, 9118, 9812/10
@ Syntax
I16 AI_AsyncClear (U16 CardNumber, U32 *AccessCnt)
@ Parameter
CardNumber : The card
id of the card that performs the asynchronous operation.
AccessCnt
: In the condition that the trigger acquisition mode is not used,
AccessCnt returns the number of A/D data that has
been transferred at the time calling AI_AsyncClear(). If any trigger
mode is enabled by calling AI_9111_Config(),
AI_9812_Config() or AI_9118_Config(), and
double-buffered mode is enabled, AccessCnt returns the next position
after the position the last A/D data is stored in the circular buffer.
@ Return Code
NoError, ErrorInvalidCardNumber, ErrorCardNotRegistered, ErrorFuncNotSupport