76
•
C Language Library
ad_buffer:
the start address of the memory buffer
to
store the A/D data, the buffer size
must be
large
than the number of A/D
conversion.
c1:
the 16-bit timer frequency divider of
timer
channel #1
c2:
the 16-bit timer frequency divider of
timer
channel #2
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 background,
you can issue the function _8112_AD_INT_Status to check the status
of 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
Summary of Contents for ACL-8112 Series
Page 1: ...NuDAQ ACL 8112 Series Enhanced Multi Functions Data Acquisition Cards User s Guide ...
Page 4: ......
Page 40: ...32 Registers Format 1 1 1 1 1 000 Unipolar N A Table 4 2 1 Function of the Gain Control Bits ...
Page 44: ...36 Registers Format Base 14 DO15 DO14 DO13 DO12 DO11 DO10 DO9 DO8 ...
Page 46: ...38 Registers Format Base 2 Counter 2 Register R W Base 3 8254 CONTROL BYTE ...
Page 71: ...C Language Library 63 ...
Page 81: ...C Language Library 73 Example See Demo Program AD_Demo4 C ...
Page 85: ...C Language Library 77 ERR_AD_INTNotSet Example See demo program AD_Demo2 C ...