25 _7200_do_dma_status, Description, Syntax – ADLINK PCI-7200 User Manual

Page 84: Argument, Return code, Description @ syntax @ argument @ return code

Advertising
background image

72

C/C++ Libraries

5.25 _7200_DO_DMA_Status

@ Description

Since the _7200_DO_DMA_Start function is executed in back-
ground, users can issue the function _7200_DO_DMA_Status to
check its operation status.

@ Syntax

Visual C++ (Windows 95)

int W_7200_DO_DMA_Status (U8 *status, U32 *

count)

Visual Basic (Windows 95)

W_7200_DO_Status ( status As Byte, count As Long

) As Long

C/C++ (DOS)

int _7200_DO_DMA_Status (U8 *status , U32 *count)

@ Argument

status: status of the DMA data transfer.

0: DO_DMA_STOP: DMA is completed
1: DO_DMA_RUN: DMA is not completed

count: the amount of DO data which has been transferred.

@ Return Code

ERR_NoError

Advertising