User`s guide

C/C++ Library 49
5.2 Software Utility
The ACL-8316/12‘s Utility includes System Configuration, Calibration, and
Functional Testing. This utility software is designed by menu-driven based on
windowing environment. Not only the text messages are shown for operating
guidance, but also has the graphic to indicate you how to set right hardware
configuration
Running the 8316UTIL.EXE
After finishing the installation, you can execute the utility by typing as follows:
C> CD \ADLINK\8316\DOS\UTIL
C> 8316UTIL
the following diagram will be displayed on you screen.
5.3 Programming Guide
There are 28 function calls are provided by the C Language Library, all the
functions of ACL-8316/12 are covered by this library, its capabilities include
A/D conversion, D/A conversion, Digital Input and Output, etc.
Data Types
We defined some data types in 8316.H. These data types are used by ACL-
8316 library. We suggest you to use these data types in your application
programs. The following table shows the data type names and their ranges.
Type Name Description Range
U8 8-bit ASCII character 0 to 255
I16 16-bit signed integer -32768 to 32767
U16 16-bit unsigned integer 0 to 65535
I32 32-bit signed integer -2147483648 to
2147483647
U32 32-bit unsigned integer 0 to 4294967295
F32 32-bit single-precision
floating-point
-3.402823E38 to
3.402823E38
F64 64-bit double-precision
floating-point
-1.797683134862315E308 to
1.797683134862315E309
Boolean Boolean logic value TRUE, FALSE