CEI-100/CEI-200/CEI-x20 User’s Manual 177
APPENDIX D
Example CEI-x20 Programs
Introduction
The CEI-x20-SW distribution contains many example programs that can
be used as templates for programming your own applications. Most of
these example programs are written in “C” and assume ARINC 429
channels. Sample applications are provided to explain 573/717 and CSDB
channel usage, and an example is also included that illustrates discrete
input/output operation. There are also C#.NET, Visual Basic (VB6 and
VB.NET), VxWorks, and LabWindows/CVI examples included with the
software distribution.
.NET Example Programs
Two sample .NET projects are included with the CEI-x20 distribution: one
supporting C#.NET and the other supporting VB.NET. Both examples
implement a simple internal/external loopback test, and both interface with
the CEI-x20 API .NET class library (also provided).
The supplied .NET examples and class library were developed using
Microsoft Visual Studio 2005, but are also compatible with subsequent
versions of Visual Studio which support .NET.
Visual Basic 6 Example Program
The CEI-x20 distribution includes an example project developed using
Microsoft Visual Basic 6.0. The example implements a simple
internal/external loopback test, and demonstrates general CEI-x20
programming in VB6. The file CEIx2032_vb6.txt contains all VB6-
compatible function definitions and constants.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com