ADLINK cPCI-7300 User Manual

Page 71

Advertising
background image

C/C++ Libraries

• 63

5.19 _7300_DO_DMA_Status

@ Description

Since the _7300_DO_DMA_Start function is executed in background, you
can issue the function _7300_DO_DMA_Status to check its operation status.

@ Syntax

Visual C/C++ (Windows 95)

int W_7300_DO_DMA_Status (int card_number, int *status)

Visual Basic (Windows 95)

W_7300_DO_DMA_Status (ByVal card_number As Long, status As Long)

As Long

C/C++ (DOS)

int _7300_DO_DMA_Status (int card_number, int *status)

@ Argument

card_number: The card number of the PCI-7300A card.
status:

status of the DMA data transfer

0 (DMA_DONE): DMA is completed

1 (DMA_CONTINUE): DMA is not completed

@ Return Code

NoError

PCICardNumErr
PCICardNotInit

5.20 _7300_DO_DMA_Abort

@ Description

This function is used to stop the DMA DO operation. After executing this
function, the _7300_DO_DMA_Start function is stopped.

@ Syntax

Visual C/C++ (Windows 95)

int W_7300_DO_DMA_Abort (int card_number)

Visual Basic (Windows 95)

W_7300_DO_DMA_Abort (ByVal card_number As Long) As Long

C/C++ (DOS)

int _7300_DO_DMA_Abort (int card_number)

@ Argument

card_number: The card number of the PCI-7300A card.

@ Return Code

NoError

Advertising