60
•
C/C++ Library
D11 D10 D9 .......................D1 D0 C3 C2 C1 C0
D11, D10, ..., D1, D0 : A/D converted data
C3, C2, C1, C0 : converted channel no.
c1 :
the 16-bit timer frequency divider of timer channel #1
c2 :
the 16-bit timer frequency divider of timer channel #2
u
Return Code
ERR_NoError,
ERR_BoardNoInit
ERR_InvalidADChannel , ERR_AD_InvalidRange
ERR_InvalidTimerValue
u
Example
See Demo Program 'AD_DEMO2.C' , ‘AD_DEMO5.C’
5.23 _9112_AD_INT_Status
u
Description
Since the _9112_AD_INT_Start() function executs in background, you
can issue the function _9112_AD_INT_Status to check the status of
interrupt operation.
u
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 )
u
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.
u
Return Code
ERR_NoError,
ERR_BoardNoInit
u
Example
See Demo Program 'AD_DEMO2.C' , ‘AD_DEMO5.C’