ADLINK PCM-9112+ User Manual

Page 71

Advertising
background image

C/C++ Library

63

5.18 _9112_CheckHalfReady

@ Description

When using _9112_ContDmaStart() to convert A/D data, you must use
_9112_CheckHalfReady() to check the data ready or not status in the
circular buffer. The size of the data is half of the circular buffer (count/2)
and can be retrieved using _9112_DblBufferTransfer().

@ Syntax

Visual C++ (Windows-95)

int W_9112_CheckHalfReady (int card_number, int *

halfReady)

Visual Basic (Windows-95)

int W_9112_CheckHalfReady (ByVal card_number As Long,

halfReady As Long) As Long

C/C++ ( DOS)

int _9112_CheckHalfReady(int card_number, int *halfReady )

@ Argument

card_number:

the card number of PCI-9112

halfReady: TRUE or FALSE.

@ Return Code

ERR_NoError, ERR_BoardNoInit

@ Example

See Demo Program 'AD_DEMO5.C'

Advertising