Program Interface Library
DOS Programming
CEI-100/CEI-200/CEI-
x20 User’s Manual
57
A library of utility routines provides the ability to write your own
programs to interface with the ARINC boards. These routines are
described in this chapter. They are written in C and are delivered in both
Microsoft- and Borland-compiler-compatible formats. They can be called
from other languages by adhering to the procedures defined in the
applicable Borland or Microsoft documentation. Be sure to include the
file UTILDEFS.H in all programs that call one or more utility routines, as
it provides the function prototypes and the symbolic argument definitions.
DOS Programming
DOS large memory model import libraries are provided as follows:
A Microsoft Visual C++ 1.52 library is provided for CEI-100 and CEI-
200:
ARINCL.LIB: CEI-200/100 Microsoft, large.
DOS is not currently supported by the CEI-x20 distribution, although
older versions of the CEI-x20 distribution which contain DOS support
for the CEI-220 and CEI-420/CEI-420A are available. Contact the
factory for more information.
Windows, VxWorks, and Linux Programming
First, verify that the operating system you are planning to use is supported
by your particular board type. To determine which operating systems are
supported by each board type, refer to the file README.HTML. This file
can be found in the root directory on the distribution CD or at Start →
Programs → Abaco CEI-x20-SW → Release Notes. Programming
information for each board type is given below.
CEI-100/200 Programming
For the CEI-100/200, a 32-bit Windows dynamic link library (.DLL) is
provided. Any code that is linked with this library must define “_WIN32”.
In 32-bit Windows, all function prototypes are declared “_stdcall”. Import
libraries can be generated through third party tools for many popular
compilers. A Microsoft Visual C++ 6.0 import library is provided with the
distribution for convenience:
CEI200.LIB: Microsoft Import Library.
CEI200.DLL: Win32 DLL.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com