uArgument
card_number : the card number of
halfReady : TRUE or FALSE.
uReturn Code
ERR_NoError,ERR_BoardNoInit
uExample
See Demo Program 'AD_DEMO5.C'
5.19 _9112_DblBufferTransfer
uDescription
Using this function to move the converted A/D data to user buffer.
uSyntax
Visual C++
int W_9112_DblBufferTransfer (int card_number, unsigned long far * userBuffer)
Visual Basic
W_9112_ DblBufferTransfer (ByVal card_number As Long, userBuffer As Long) As Long
C/C++ ( DOS)
int _9112_DblBufferTransfer(int card_number, unsigned long *userBuffer )
uArgument :
card_number : the card number of
userBuffer : user buffer for A/D converted data, size of user buffer is half of doubleBuf (count /2).
uReturn Code :
ERR_NoError, ERR_BoardNoInit
uExample :
See Demo Program 'AD_DEMO5.C'
5.20 _9112_GetOverrunStatus
uDescription
When you use _9112_ContDmaStart() to convert A/D data and if you do not use _9112_DblBufferTransfer to move converted data then the double buffer overrun will occur, using this function to check overrun count.
uSyntax
Visual C++
int W_9112_GetOverrunStatus (int card_number, int * overrunCount)