ADLINK PCM-9112+ User Manual

Page 76

Advertising
background image

68

C/C++ Library

5.23 _9112_AD_INT_Status

@ Description

Since the _9112_AD_INT_Start() function executes in the background,
you can issue the function _9112_AD_INT_Status to check the status of
interrupt operation.

@ Syntax

Visual C++ (Windows-95)

int W_9112_AD_ INT_Status (int card_number, int *status,

int * count)

Visual Basic (Windows-95)

W_9112_INT_Status (ByVal card_number As Long, status As

Long, count As Long) As Long

C/C++ ( DOS)

int _9112_AD_INT_Status(int card_number, int *status ,

int *count )

@ Argument

card_number:

the card number of PCI-9112

status:

status of the INT data transfer

0: AD_INT_STOP: DMA is completed

1: AD_INT_RUN: DMA is not completed

count: current conversion count number.

@ Return Code

ERR_NoError, ERR_BoardNoInit

@ Example

See Demo Program 'AD_DEMO2.C' , ‘AD_DEMO5.C’

Advertising