C Language Library
•
51
7
C Language Library
There are 23 function calls provided by the C Language Library, all the
functions of ACL-8112 are covered by this library, its capabilities include
A/D conversion, D/A conversion, Digital Input and Output, etc.
Using the C Language library saves a lot of programming time and has
some other benefits as well. The library also supports data collection on
interrupt or DMA from internal time clock for A/D conversion. Note that the
DMA data transfer just processes on one fixed A/D channel.
A lot of demonstration programs are included in this disk. It will help you
understand the library more quickly. The detailed description of each
function in the library is specified in the following sections.
Please note that the function name is using the following convensions:
_8112XX_function(). For ACL-8112DG and ACL-8112HG, the function
name is, for example, _8112_function(). For ACL-8112PG, the function
name is , for example, _8112pg_function().
7.1 _8112_Initial
Description
An ACL-8112 card is initialized according to the card number and the
corresponding base address. Every ACL-8112 Multi-Function Data
Acquisition Card have to be initialized by this fu nction before calling
other functions.
Syntax
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 ...