ADLINK PCM-9112+ User Manual

Page 68

Advertising
background image

60

C/C++ Library

5.16 _9112_AD_DMA_Stop

@ Description

This function is used to stop the DMA data transferring. After executing
this function, the internal A/D trigger is disable and the A/D timer ( timer
#1 and #2) is stopped. The function returns the amount of data, which
have been transferred, no matter if the A/D DMA data transfer is
stopped by this function or by the DMA terminal counts ISR.

@ Syntax

Visual C++ (Windows-95)

int W_9112_AD_DMA_Stop (int card_number, int * count)

Visual Basic (Windows-95)

W_9112_AD_DMA_Stop (ByVal card_number As Long, count As

Long) As Long

C/C++ ( DOS)

int _9112_AD_DMA_Stop (int card_number, int *count )

@ Argument

card_number:

the card number of PCI-9112

count: the number of A/D converted data which has been

transferred.

@ Return Code

ERR_NoError
ERR_BoardNoInit

@ Example

See Demo Program 'AD_DEMO3.C', ‘AD_DEMO6.C’

Advertising