MIL-STD-1553 Windows SDK Getting Started Manual
MIL-STD-1553 Windows SDK
Getting Started Manual
Getting Started Manual
February 2013
V1.00.00 Rev. A
MIL-STD-1553 Windows SDK Getting Started
Manual
Getting Started Manual
V1.00.00 Rev. A
February 2013
Table of Contents
....................................................................................................1
Section 1 INTRODUCTION
1.1 About this
....................................................................................................................
1
Manual
1.2 How this
....................................................................................................................
2
Manual is Organized
1.3 General....................................................................................................................
2
Documentation Conventions
1.4 Applicable
....................................................................................................................
3
Documents
Section 2 NEW SDK AND HARDWARE INSTALLATION
....................................................................................................4
PROCEDURE
2.1 SDK Installation
.................................................................................................................... 4
2.2 Hardware
....................................................................................................................
9
Installation
2.2.1 Installing the
......................................................................................................
AIT Hardware
10
2.2.2 Installing the
......................................................................................................
Windows XP/7 Driver
10
....................................................................................................16
Section 3 SDK UPGRADE
PROCEDURE
3.1 Removing
....................................................................................................................
16
Previously Installed Drivers and SDK
3.1.1 Removing the
......................................................................................................
Windows XP/7 Driver and SDK
16
3.2 Install....................................................................................................................
18
the New SDK
3.3 Update
....................................................................................................................
18
the Onboard Flash Firmware
3.3.1 Update Firmware
......................................................................................................
on 1553 Modules
18
3.4 Installing
....................................................................................................................
20
the New Windows Driver
....................................................................................................21
Section 4 CONNECTING
THE AIT MODULE TO THE BUS
4.1 Direct ....................................................................................................................
21
Coupling
4.2 Transformer
....................................................................................................................
21
Coupling
4.3 Device....................................................................................................................
23
to Device (Network) Coupling
Section 5 AIT FLIGHT....................................................................................................24
SIMULYZER
....................................................................................................26
Section 6 MIL-STD-1553
SOFT FRONT PANEL
AIT MIL-STD-1553 Windows SDK Getting Started Manual
II
Section 7 COMPILING....................................................................................................31
AND RUNNING A SAMPLE PROJECT
....................................................................................................34
Section 8 DOWNLOADING
THE SDK FROM AVIFTECH.COM
III
AIT MIL-STD-1553 Windows SDK Getting Started Manual
1
INTRODUCTION
1.1
About this Manual
This Getting Started Manual has been developed to assist first time users of AIT
MIL-STD-1553 interface modules with software installation, hardware setup, and
starting a sample project.
Step by step instructions cover Software Development Kit (SDK) installation, board
installation, and driver configuration. The SDK supports these AIT bus interface
modules/devices:
·
·
·
·
·
·
·
PMC-1553-1/2/4
XMC-1553-1/2/4,
PCI-C1553-1/2/4
PCIe-C1553-1/2/4
PXI-C1553-1/2/4
PC104p-1553-1/2
USB-1553-1/2
The SDK provides users with current documentation, board drivers, and sample
development projects. Additionally, the SDK provides utility files that are used to
upgrade the onboard firmware, which is also described in this manual. The current
version of all SDKs is available from the DOWNLOAD AREA of the AIT website at
http://www.avitech.com.
AIT is also a leading designer and manufacturer of other high performance test and
simulation modules, databus analyzer software, and systems for MIL-STD-1553A/B,
ARINC429, ARINC664/AFDX, MIL-STD-1760E, Fibre Channel, TTEthernet, and
TTP. Supported hardware platforms include PMC, XMC, PCI/PCI-X, PCIe, PXI/PXIe,
cPCI, PC/104+, USB, VME, and VXI.
Information about all AIT products can be found at http://www.aviftech.com.
DOCUMENT HISTORY
Version
V1.00.00 Rev A
Cover Date
February 2013
Created By
T. Fleissner
Description
Creation of Document
AIT MIL-STD-1553 Windows SDK Getting Started Manual
1
1.2
How this Manual is Organized
This manual is organized as follows:
Section 1, INTRODUCTION, contains an overview of this manual.
Section 2, NEW SDK INSTALLATION PROCEDURE, describes the
procedure used to install the SDK software and the 1553 hardware on a
system that does not have a previous 1553 SDK installed.
Section 3, SDK UPGRADE PROCEDURE, describes the procedure used to
upgrade the SDK software and the 1553 onboard flash firmware on a
system that has a previous 1553 SDK installed.
Section 4, CONNECTING THE AIT MODULE TO THE BUS, contains a
description and diagrams of the different methods used to connect the
AIT 1553 card to the 1553 bus.
Section 5, AIT FLIGHT SIMULYZER, contains a description and diagrams
of AIT's 1553 Full Function Analyzer.
Section 6, MIL-STD-1553 SOFT FRONT PANEL, contains a description and
AIT's Soft Front Panel GUI application.
Section 7, COMPILING AND RUNNING A SAMPLE PROJECT, contains
the procedure used to open, build, and run a sample project included in
the SDK. Microsoft Visual C++ is used.
Section 8, DOWNLOADING THE SDK FROM AVIFTECH.COM,
describes the procedure to obtain the SDK from AIT's online database.
1.3
General Documentation Conventions
We use a number of different styles of text and layout in this document to help
differentiate between the different kinds of information. Here are some examples of the
styles we use and an explanation of what they mean:
Italics - used as a placeholder for the actual name, filename, or version of the
software in use
Bold text - a function, or parameter, or used to highlight important information
Bold Blue - will be used to show reference documentation
2
AIT MIL-STD-1553 Windows SDK Getting Started Manual
Bold italics - caution, warning or note
1.4
Applicable Documents
AIT has developed several documents that may be used to aid the user with other
aspects of our MIL-STD-1553 bus interface cards. These documents and a summary of
their contents are listed below:
· Software Library Reference Manual for AIT 1553 Windows Applications,
provides the 1553 application developer with detailed programming information
including library function call and header file details and specific troubleshooting
information. This guide is to be used in conjunction with the 1553 Programmer's
Guide.
· PMC1553 Hardware Manual, provides the hardware user’s manual for the
PMC1553 module. The document covers the hardware installation, the board
connections, the technical data and a general description of the hardware
architecture.
· XMC1553 Hardware Manual, provides the hardware user’s manual for the
XMC1553 module. The document covers the hardware installation, the board
connections, the technical data and a general description of the hardware architecture.
· PCI-C1553 Hardware Manual, provides the hardware user’s manual for the
PCI-C1553 PCI-Bus module. The document covers the hardware installation, the
board connections, the technical data and a general description of the hardware
architecture.
· PCIe-C1553 Hardware Manual, provides the hardware user’s manual for the
PCIe-C1553 PCIe-Bus module. The document covers the hardware installation, the
board connections, the technical data and a general description of the hardware
architecture.
· PXI-C1553 Hardware Manual, provides the hardware user’s manual for the
PXI-C1553 CompactPCI-Bus module. The document covers the hardware
installation, the board connections the technical data and a general description of the
hardware architecture.
· PC104p-1553 Hardware Manual, provides the hardware user’s manual for the
PC104p-1553 module. The document covers the hardware installation, the board
connections the technical data and a general description of the hardware architecture.
· PC104p-1553 Hardware Manual, provides the hardware user's manual for the
USB-1553 module. The document covers the hardware installation, the board
connections the technical data and a general description of the hardware architecture.
AIT MIL-STD-1553 Windows SDK Getting Started Manual
3
2
NEW SDK AND HARDWARE INSTALLATION
PROCEDURE
This section contains the procedure used to install the SDK software and the 1553
hardware on a system that does not have a previous 1553 SDK installed. If installing
on a system that has a previous version of the SDK installed, the SDK upgrade
procedure described in Section 3 should be used.
The 1553 SDK contains reference documentation, board drivers, sample development
projects, and firmware upgrade utility files. These files are automatically loaded onto
the system by installing the SDK software package.
The software is available on CD from AIT or via a download from www.aviftech.com.
2.1
SDK Installation
To properly install the AIT 1553 SDK and hardware:
a.
Complete the procedure described in SDK Software Installation.
b.
Perform the procedure described in Hardware Installation.
Note: In order to ensure proper installation, it is important that the SDK Software
installation is completed before the 1553 hardware is installed.
The 1553 SDK includes the following resources which will be installed on your
computer upon completion of the steps described in this section:
·
·
·
·
·
Software Library Reference Manual
SDK Release Notes
Windows System Drivers
Onboard firmware update utilities
Sample project
·
To install the SDK software from the AIT-provided CD or a download
from www.aviftech.com:
1.
4
If using the AIT-provided CD, insert the CD into the CD ROM drive.
The Setup Application will automatically start after a few seconds.
If the Setup Application does not start after a few seconds, or the SDK
is being installed from a download, the Setup Application must be
manually started.
AIT MIL-STD-1553 Windows SDK Getting Started Manual
2.
To start the application manually, navigate to the CD ROM drive or the
download directory and double click the Setup.exe icon, or start it with
the Start | Run... command.
3.
Once the Setup Application has started, step through the install wizard
to complete the installation.
You will be given the opportunity to choose the directory where the
SDK is to be installed. Default locations can also be used.
4.
Follow the onscreen instructions, to begin the installation, press Next
5.
You will be prompted to select the components to install. The table
below describes each of these components. after selecting all
components that you wish to install, press Next.
AIT MIL-STD-1553 Windows SDK Getting Started Manual
5
Component
M1553 C-API
Description
MIL-STD-1553 ANSI C Application Programmer's
Interface including all header's, libraries, and
documentation required to build ANSI C
Application programs.
OWL C++ API (PCI)
MIL-STD-1553 Object Wrapper Layer (OWL)
Application Programmer's Interface including all
header's, libraries, and documentation required to
build C++ Object Oriented Applications. Includes
application samples.
OWL .NET 2.0 Assembly
MIL-STD-1553 Object Wrapper Layer (OWL) API
(PCI)
assembly supporting C#, VC++, and VB.NET
applications
Flight Simulyzer
MIL-STD-1553 Analyzer/Simulator and
Configuration GUI Application
Front Panel
MIL-STD-1553 Soft Front Panel GUI Application.
M1553 PCI driver
Device Drivers and onboard firmware (including
upgrade utilities) for the MIL-STD-1553 PCI
based hardware modules (e.g. PCI-C1553, PCIeC1553, PXI-C1553, PMC-1553, and XMC-1553).
Visual C++ 2005 SP1 Runtime The Microsoft Visual C++ 2005 Service Pack1
runtime. This component may be required on
systems that do not have the latest Visual Studio
runtime installed.
Visual C++ 2008 SP1 Runtime The Microsoft Visual C++ 2008 Service Pack1
runtime. This component may be required on
systems that do not have the latest Visual Studio
6
AIT MIL-STD-1553 Windows SDK Getting Started Manual
runtime installed.
Visual C++ 2010 SP1 Runtime The Microsoft Visual C++ 2010 Service Pack1
runtime. This component may be required on
systems that do not have the latest Visual Studio
runtime installed.
6.
Review the installation tasks and, when ready, press Install to begin
copying files to disk.
7.
When prompted, choose whether or not the computer should be restarted
after the installer exits. If you have installed the VISA drivers and
firmware then you must restart the computer in order for the
MIL-STD-1553 hardware modules to be restarted with the new drivers.
(See the next section for Hardware installation instructions)
AIT MIL-STD-1553 Windows SDK Getting Started Manual
7
The SDK installation will result in the creation of the following Program Folder icons
which can be located by going to Start | All Programs | Avionics Interface
Technologies | MIL-STD-1553 SDK vX.X.X:
The SDK installation will also result in the creation of the directory structure shown
below. The AIT directory will be located in x:\Program Files\AIT. The Program Files
directory will be located on the drive that was chosen during the SDK install.
8
AIT MIL-STD-1553 Windows SDK Getting Started Manual
The folder contents are:
C++ API
C API
Front Panel
Hardware Utils
NET API
2.2
High Level OWL C/C++ Object Oriented API, including
libraries, reference manuals, sample projects, etc
Low Level ANSI C API, including libraries, reference
manuals, sample projects, etc
The Soft Front Panel provides a simple and easy to use
Graphical User's Interface to the AIT MIL-STD-1553
hardware modules.
Update utilities that are used to update onboard firmware
.NET API, , including libraries, reference manuals,
sample projects, etc
Hardware Installation
Once you have installed the SDK as described in SDK Installation, you can now begin
installation of the hardware and associated driver. The 1553 board features full
'plug-and-play' capability. There are no jumpers or switches to modify before
installation.
The hardware installation is completed by performing the steps as described below:
AIT MIL-STD-1553 Windows SDK Getting Started Manual
9
2.2.1
a.
Install the 1553 board as described in Installing the AIT Hardware.
b.
Install and verify the Windows driver using Driver installation for a
Windows XP/7 system.
Installing the AIT Hardware
ESD Warning!!! The 1553 boards are typical electronic devices that are sensitive to
electrostatic discharge. It is important to observe normal precautions when
handling the board to prevent damage.
·
·
2.2.2
To install the PCI/PCIx/PCIe/PXI-C1553 board:
1.
Power off the PC.
2.
Insert the board into an available PCI slot.
3.
Reboot the PC.
Windows will recognize the new hardware as a PCI/PCIe-C1553 board
or a PCI Bridge Device and start the Found New Hardware Wizard.
To install the PMC/XMC1553 board:
1.
Power off the PC.
2.
Insert the PMC1553 board into an available PCI slot via a PMC-Adapter
or insert the PMC1553 board into an available cPCI slot via a PMC
carrier board.
3.
Reboot the PC.
Windows will recognize the new hardware as a PMC1553 board or a
PCI Memory Controller and start the Found New Hardware Wizard.
Installing the Windows XP/7 Driver
The following procedures perform installation and verification of the Windows XP/7
driver. The Hardware Wizard will be directed to obtain the Windows XP/7 driver for
the 1553 board from:
C:\Program Files\AIT\Drivers\M1553 PCI Drivers vX.X.X
·
To install the Windows XP/7 driver:
1.
10
When the computer starts up, the “Found New Hardware Wizard” will
AIT MIL-STD-1553 Windows SDK Getting Started Manual
start. Follow the wizard, choosing the illustrated options.
Install from a list or specific location (Advanced)
Then select the Next button. (You do not need the installation CD
inserted into the CD drive.)
2.
Install the software automatically.
AIT MIL-STD-1553 Windows SDK Getting Started Manual 11
3.
12
The wizard will find the appropriate driver files.
AIT MIL-STD-1553 Windows SDK Getting Started Manual
4.
Press Finish to complete the installation.
AIT MIL-STD-1553 Windows SDK Getting Started Manual 13
·
14
To verify proper installation of Windows XP/7 driver:
1.
Go to Start | Control Panel and select System, then click on the
Hardware tab and select the Device Manager… button.
For Windows XP users it may be necessary to first select Start | Control
Panel | Switch to Classic View in order to find the System icon.
2.
In the Device Manager window, expand the AIT Components entry by
clicking on it.
AIT MIL-STD-1553 Windows SDK Getting Started Manual
· AIT 1553 : AIT's Lower Level Driver Node
· xMC-1553-GC : The MIL-STD-1553 Hardware Module
NOTE: Both of these nodes need to be present in order for
the module to be installed correctly
3.
If the Device Manager appears with both nodes as shown above,
installation is complete. If not, continue to Step 4.
4.
If the AIT 1553 node is not present, the lower level AIT 1553 driver was
not correctly installed on the system. To fix this, go to the directory:
C:\Program Files\AIT\Drivers\M1553 PCI Drivers vX.X.X and run
DriverInstall.bat. After this completes, check Device Manager and
verify the AIT 1553 node appears.
5.
If the AIT 1553 node now appears, Scan for Hardware Changes by right
clicking in the Device Manager window, and repeat Steps 1 - 3.
AIT MIL-STD-1553 Windows SDK Getting Started Manual 15
3
SDK UPGRADE PROCEDURE
This section contains the procedures used to upgrade the SDK for the 1553 module on a
system which has a previous version of the 1553 SDK installed. This procedure
describes the steps which must be taken to upgrade both the host PC driver software
and the onboard target driver software.
The SDK is available on CD from AIT or via a download from www.aviftech.com.
Appendix A contains instructions for performing the download.
·
3.1
To properly update the 1553 SDK:
1.
Remove the old driver and SDK.
2.
Install the new SDK.
3.
Update the onboard flash firmware.
4.
Complete the upgrade by installing the new AIT device driver.
Removing Previously Installed Drivers and SDK
Before installing the new 1553 SDK, it is recommended that the previously installed
drivers and SDK are removed from the system.
3.1.1
Removing the Windows XP/7 Driver and SDK
·
To remove the previously installed Windows XP/7 driver:
1.
16
Go to Start | Settings | Control Panel | System. Then select the
Hardware Tab. In the Hardware Tab select the Device Manager…
button.
(For Windows XP users it may be necessary to first select Start |
Control Panel | Switch to Classic View in order to find the System
icon)
AIT MIL-STD-1553 Windows SDK Getting Started Manual
2.
In the Device Manager window, right click over the AIT 1553 and the
xMC-1553-GC entry and select Uninstall.
3.
Confirm the device removal by selecting the OK button.
4.
Next, delete the following files if they exist:
x:\Windows\System32\Drivers\ait1553.sys
AIT MIL-STD-1553 Windows SDK Getting Started Manual 17
x:\Windows\System32\Drivers\kpait1553.sys
x:\Windows\INF\oemxx.inf (where xx = number)
INF is a hidden folder, to find this folder you may first need to select
Tools|FolderOptions|View tab|Show hidden files and folders in
Windows Explorer.
Note: Windows creates the oemxx.inf installation files (where xx =
number) when installing new drivers. Therefore, it will be necessary to
determine the actual name that Windows has assigned to the AIT 1553 driver
.inf file (for example, oem0.inf or oem11.inf). To find the actual name
of the .inf file, search the INF folder for the text "AIT" and verify the
contents are related to the AIT driver using a text editor such as Notepad or
Wordpad prior to deletion.
5.
3.2
Now, remove the SDK by going to C:\Program
Files\AIT\MIL-STD-1553 SDK vX.X.X and selecting unins000.exe
Install the New SDK
Once the old SDK and drivers have been removed, the upgrade may continue with the
installation of the new SDK. The new SDK may be obtained via a download from
www.aviftech.com, or from an AIT-provided CD. To install the new SDK from the
AIT-provided CD or a download from www.aviftech.com, see Section 2.1.
3.3
Update the Onboard Flash Firmware
This section contains the procedures used to update the onboard firmware on the
MIL-STD-1553 module when upgrading to a newer version of the Software
Development Kit. By installing the SDK, all the files necessary to update the onboard
Flash firmware are also installed. AIT recommends updating the onboard firmware to
guarantee proper operation.
3.3.1
Update Firmware on 1553 Modules
A typical installation of the Windows SDK will contain an assortment of files within
C:\Program Files\AIT\MIL-STD-1553 vX.X.X.
The directory for updating the firmware is located here: C:\Program
Files\AIT\MIL-STD-1553 SDK vX.X.X\HardwareUtils\M1553\utils
1) Run update_firmware_1553.bat and select option (a) Show Devices.
18
AIT MIL-STD-1553 Windows SDK Getting Started Manual
The Hw Build ID is the firmware version that is currently loaded on the board and
the File Build ID is the firmware version that was shipped with the SDK. You
always want these to be the same. If they are different, you need to continue and
update the firmware.
2) To Update the Firmware, select option (b) Program Devices
You will see stars across the bottom of the window as the firmware update takes
place. This process takes about 15 minutes.
AIT MIL-STD-1553 Windows SDK Getting Started Manual 19
NOTE: Do not turn off the computer or stop the application in the middle of
the update
3) Once this process completes, you will see the message below.
4) Then completely cycle power to your machine. A restart is NOT sufficient.
5) Once your machine is on, you can repeat Step 1 to verify that the Hw Build
ID and the File Build ID are the same.
3.4
Installing the New Windows Driver
Once the PC is rebooted, Windows will recognize the new hardware.
To Install and verify the new Windows driver use Driver installation for a Windows
XP/7 system as described in New SDK and Hardware Installation Procedure.
20
AIT MIL-STD-1553 Windows SDK Getting Started Manual
4
CONNECTING THE AIT MODULE TO THE BUS
The MIL-STD-1553 specification clearly defines the process of coupling subsystems to
the bus. This connection, called a stub, has two coupling options: direct coupled and
transformer coupled. In addition to these two methods of connecting to the bus, a direct
to device (network) coupling configuration is also an option. All three methods are
described in this section.
4.1
Direct Coupling
Direct coupling connects the subsystem/terminal device directly to the bus and can only
be used in connections under one foot in length.
Since a direct coupled stub provides only limited isolation in the event of a device
(subsystem or terminal) short, transformer coupling is normally the recommended
method of connecting to the bus.
Figure 4.1-II
4.2
Transformer Coupling
Transformer coupling utilizes a bus coupler that contains an isolation transformer and
isolation resistors. Transformer coupling extends the stub length to 20 feet and
provides electrical isolation, better impedance matching and higher noise rejection
characteristics than direct coupling. The electrical isolation prevents a terminal fault or
stub impedance mismatch from affecting bus performance.
Figure 4.2-I
AIT MIL-STD-1553 Windows SDK Getting Started Manual 21
Connecting to the bus using transformer coupling requires a coupler for each
subsystem/terminal device and proper termination on the bus.
Figure 4.2-II
22
AIT MIL-STD-1553 Windows SDK Getting Started Manual
Figure 4.2-III
4.3
Device to Device (Network) Coupling
Direct to device (network) coupling is an option with AIT modules. The AIT design
includes onboard bus network circuitry that is software selectable. This allows the user
to connect directly to a single terminal device without the need for any bus coupling.
The network coupling mode, selected by the user via software controls, provides a
terminated MILbus network simulation on the AIT module for direct connection
between the AIT module, software, and the terminal under test.
Figure 4.3-I
AIT MIL-STD-1553 Windows SDK Getting Started Manual 23
5
AIT FLIGHT SIMULYZER
The Flight Simulyzer 1553 Analyzer Software is used in conjunction with AIT’s family
of 1553 interface boards to provide a powerful Windows-based 1553 Analyzer tool. An
easy-to-use GUI allows complete visual programming that enables users to
troubleshoot, optimize, plan and configure MIL-STD-1553 databuses. Low-level and
high-level protocol analysis features work by capturing, filtering, time stamping and
interpreting MIL-STD-1553 databus traffic and then generating advanced statistics for
the users.
Flight Simulyzer’s BC, RT and BM configurations are based on a common data format
(XML) which allows simulation setups created and used within the Flight Simulyzer
application to also be loaded and executed from within the AIT MIL-STD-1553
LabView instrument driver, high-level C++ and C# application interface libraries, and
the MIL-STD-1553 soft front panel application. This allows configurations generated
by Flight Simulyzer to be utilized from within user applications developed using
LabView, C++, or C#.
The operation of the Flight Simulyzer application is documented in the Flight
Simulyzer User's Guide.
The Flight Simulyzer User's Guide can be found at: Start | All Programs | Avionics
Interface Technologies | Flight Simulyzer | User's Guide
24
AIT MIL-STD-1553 Windows SDK Getting Started Manual
AIT MIL-STD-1553 Windows SDK Getting Started Manual 25
6
MIL-STD-1553 SOFT FRONT PANEL
This section specifies the use of the MIL-STD-1553 Soft Front Panel (SFP) GUI
application. The SFP provides a simple and easy to use GUI interface to the MIL-STD1553 Instruments.
The 1553 Soft Front Panel application is started from the Start | Avionics Interface
Technologies | MIL-STD-1553 SDK vX.X.X | Front Panel ..... Start menu item.
When launched, the Main tab of the SFP is displayed.
Bus Controller Operations
The 1553 SFP Bus Controller tab is used to define a single transfer for the BC to execute when
activated. The RT address, subaddress, and direction (Tx/Rx) for the transfer can be specfied.
Additionally, the word count for the transfer can also be specified. If the direction Rx (i.e. the RT
is receiving and the BC is transmitting), the the transfer data can be edited. If the transfer
direction is Tx then the transfer data is read only.
26
AIT MIL-STD-1553 Windows SDK Getting Started Manual
Remote Terminal Operations
The Remote Terminal tab of the 1553 SFP is used to configure and operate a single RT
subaddress. The RT address and subaddress can be specified as well as the direction. If the
selected direction is Tx (i.e. the RT Subaddress transmits), then the subaddress data is
editable. If the direction is Rx, then the subaddress data is read only.
AIT MIL-STD-1553 Windows SDK Getting Started Manual 27
Bus Monitor Operations
The Bus Monitor tab of the SFP is used to operate the BM. This tab displays the data captured
by the BM from the 1553 bus. It also provides the ability to save the captured data to a .CSV file
for offline analysis.
28
AIT MIL-STD-1553 Windows SDK Getting Started Manual
RT Activity Operations
The RT Activity tab of the 1553 SFP provides a quick analysis of which RT's are active and
health (or not) on the 1553 bus. For each RT the message count and error count is displayed as
well as a color coded indication of the RT's health (Green -- no errors, Red -- errors).
AIT MIL-STD-1553 Windows SDK Getting Started Manual 29
30
AIT MIL-STD-1553 Windows SDK Getting Started Manual
7
COMPILING AND RUNNING A SAMPLE PROJECT
The 1553 SDK includes a Microsoft Visual C++ sample workspace that consists of
several 1553 application sample programs. 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 SDK has been installed).
For further information regarding development of a 1553 application software program
to interface to the 1553 module see the 1553 Software Library Reference Manual.
Note: The procedures in this section assume the use of Microsoft Visual C++
2005, 2008, or 2010.
The processes involved in compiling and running a sample program for the OWL1553
C/C++ Object Oriented API include:
·
·
Opening the sample Project
Building and executing the sample program
·
To Open the sample Project, double click on the Samples.sln located in
C:\Program
Files\AIT\MIL-STD-1553
SDK
vX.X.X\C++
API\samples\projects\vs20xxsp1
AIT MIL-STD-1553 Windows SDK Getting Started Manual 31
·
32
To Build and Execute a Sample Program:
1.
Using File View, right click on any sample program (ex. Samples) and
select Set as StartUp Project.
2.
Select Build | Build Samples.
AIT MIL-STD-1553 Windows SDK Getting Started Manual
3.
·
The program can now be executed by selecting Debug | Start
Debugging or go to the Output directory and run the Samples.exe.
Similarily, samples for the Low Level ANSI C API and .NET API are located
in C:\Program Files\AIT\MIL-STD-1553 SDK vX.X.X\C-API\samples and
C:\Program Files\AIT\MIL-STD-1553 SDK vX.X.X\NET API\samples,
respectively.
AIT MIL-STD-1553 Windows SDK Getting Started Manual 33
8
DOWNLOADING THE SDK FROM AVIFTECH.COM
The AIT DOWNLOAD AREA consists of current manuals, SDKs, and documentation
categorized by product.
· To obtain the 1553 SDK, Product Guides, Datasheets, and Hardware Manuals
from the Download Area:
1.
The SDK can be downloaded directly from the Download Area of the AIT
Website. The Download Area is accessible via the Download Area link located at the
top of the AIT Home page - www.aviftech.com.
2.
Once in the Download Area, login using your Customer (User) ID and
Password. If you do not already have a user account for Aviftech.com, you can register
to create one.
34
AIT MIL-STD-1553 Windows SDK Getting Started Manual
3.
The software is accessible from within the 1553 | 1553 Windows software
product page as shown below.
AIT MIL-STD-1553 Windows SDK Getting Started Manual 35
36
AIT MIL-STD-1553 Windows SDK Getting Started Manual
Was this manual useful for you? yes no
Thank you for your participation!

* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project

Download PDF

advertising