ADLINK cPCI-9116 User Manual
Page 81
 
C++ Library
• 71
6.9.3 _9116_AD_DMA_Stop
@ Description
This function is used to stop the DMA data transfer and obtain the start 
index of the data buffer when pre-trigger or middle-trigger is selected. 
@ Syntax
C/C++ (DOS)
int _9116_AD_DMA_Stop( I16 card_number, U32 *count, U32
*start_idx )
@ 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. 
Count:
the number of A/D converted data that have been 
transferred. 
start_idx:
The index where the data started from within the 
user’s buffer, i.e the sequence of read data is: 
buff[start_idx], buff[start_idx+1], _, buff[0], 
buff[1],_.,buff[start_idx-1]. 
@ Return Code
ERR_NoError 
ERR_BoardNoInit