9812_ad_dma_start – ADLINK PCI-9810 User Manual

Page 63

Advertising
background image

Function Reference

51

_9812_AD_DMA_Start

Description

Starts an operation of A/D conversion N times with DMA data
transfer. It will take place in the background, which will not stop
until the Nth conversion has been completed or until your program
executes _9182_AD_DMA_Stop to stop the operation. After exe-
cuting this function, check the status of the operation by using the
_9812_AD_DMA_Status function.

Syntax

C/C++ (DOS)

int _9812_AD_DMA_Start (int card_number, int

ch_cnt, U32 *buff, U32 count)

C/C++ (Windows 95)

int W_9812_AD_DMA_Start(int card_number, int

ch_cnt, HANDLE memID, U32 count)

Visual Basic (Windows 95)

W_9812_AD_DMA_Start (ByVal card_number As Long,

ByVal ch_cnt As Long, ByVal handle As Long,

ByVal count As Long) As Long

Argument(s)

card_number

Card number of the selected card.

ch_cnt

Number of A/D channel enabled. Valid values:

0

No channel is enabled.

1

Only channel 0 is enabled.

2

Channel 0 and 1 are enabled, and the sequence of
channel scan is 0, 1, 0, 1, …

4

All channels are enabled and the sequence of channel
scan is 0, 1, 2, 3, 0, 1, 2, 3, …

Advertising
This manual is related to the following products: