C Language Library
•
83
Appendix A. Demo Programs
In this software diskette, there are 8 demonstration programs are
provided. They could help you to program your application by using C
Language Library easily. The description of these programs are specified
as follows:
AD_DEMO1.C:
A/D conversion uses software trigger and
program data transfer.
AD_DEMO2.C
A/D conversion uses interrupt and program
data transfer.
AD_DEMO3.C:
A/D conversion uses DMA data transfer.
AD_DEMO4.C:
A/D conversion uses multiple channels and
input range programmable, triggers by PC
timer, and saves all data to a file
'ad_demo4.data'.
DA_DEMO.C:
D/A conversion
DI_DEMO.C:
Read data from digital input channels
DO_DEMO.C:
Write data to digital output channels
TMR_DEMO.C:
Handle 8253 Timer/Counter
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 ...