ADLINK ACL-8112 Series User Manual

Page 85

Advertising
background image

C Language Library

• 77

Return Code:

ERR_NoError
ERR_BoardNoInit
ERR_InvalidADChannel
ERR_AD_InvalidRange
ERR_InvalidIRQChannel
ERR_InvalidTimerValue

Example:

See demo Program 'AD_Demo2.C'

7.18 _8112_AD_INT_Status

Description

Since the _8112_AD_INT_Start() function is executed in the
background, you can issue the function _8112_AD_INT_Status to check
the status of the interrupt operation.

Syntax

int _8112_AD_INT_Status( int *status , int *count )
int _8112pg_AD_INT_Status( int *status , int *count )

Argument:

status:

status of the INT data transfer

0: A/D INT is completed

1: A/D INT is not completed

count:

current conversion count number.

Return Code:

ERR_NoError
ERR_BoardNoInit
ERR_AD_INTNotSet

Example:

See demo program 'AD_Demo2.C'

Advertising