ADLINK PCM-9112+ User Manual

Page 67

Advertising
background image

C/C++ Library

59

5.15 _9112_AD_DMA_Status

@ Description

Since the _9112_AD_DMA_Start function executes in the background,
you can issue the function _9112_AD_DMA_Status to check its
operation status.

@ Syntax

Visual C++ (Windows-95)

int W_9112_AD_DMA_Status (int card_number, int *status,

int * count)

Visual Basic (Windows-95)

W_9112_AD_Status (ByVal card_number As Long, status As

Long, count As Long) As Long

C/C++ ( DOS)

int _9112_AD_DMA_Status(int card_number, int *status ,

int *count )

@ Argument

card_number:

the card number of PCI-9112

status:

status of the DMA data transfer

0: AD_DMA_STOP: DMA is completed

1: AD_DMA_RUN: DMA is not completed

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

@ Return Code

ERR_NoError, ERR_BoardNoInit

@ Example

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

Advertising