5 COMPILING AND RUNNING A SAMPLE PROJECT
The PCI 1553 BSP includes a Microsoft Visual Studio 2008 sample Workspace that consists
of several 1553 application sample programs. The samples are all organized within one main
programm which handles the board initialization. This section contains the procedure which
can be used to compile and run any of the sample programs included in the sample workspace
(once the BSP has been installed). For more detailed information on API programming see
the included 1553 programmers guide document.
Note: To execute a pre-compiled sample program run 1553_sample_project.exe from
within the sample directory :
Start | All Programs | AIM GmbH | PCI-1553-Windows-BSP-Vxxxx |
1553_sample_project
The 1553_sample_project program opens a board and provides a selection of
sample functions to execute .
For further information regarding development of a 1553 application software program to
interface to the PCI 1553 module see the PCI 1553 Programmer's Guide and PCI 1553
Reference Manual.
Note: The procedures in this section assume the use of Microsoft Visual Studio 2008. If a
different version is used, the procedure may differ slightly.
The processes involved in compiling and running a sample program include:
a. Opening the sample Workspace
b. Adding the proper search paths for the include files
c. Adding the proper preprocessor definition
d. Adding the proper library
e. Adding the proper library path
f. Building and executing the sample program.