ADLINK cPCI-9116 User Manual
Page 86
Advertising

76
• C++ Library
6.11.2 _9116_DblBufferTransfer
@ Description
Using this function to copy the converted A/D data from the circular to
transfer buffer.
@ Syntax
C/C++ (DOS)
int _9116_DblBufferTransfer(I16 card_number, U32 far *user_buffer)
@ Argument
card_number:
the card number of the cPCI-9116 to be initialized,
totally 4 cards can be initialized, valid card
numbers are CARD_1, CARD_2, CARD_3,
CARD_4.
userBuffer :
user transfer buffer for A/D converted data, each
time _9116_DblBufferTransfer() copies half size
of circular buffer to user’s Buffer. The size of the
circular in samples is specified in
_9116_AD_DMA_Start () function call.
@ Return Code
ERR_NoError
ERR_BoardNoInit
Advertising