Objective
The objective of this task is to create a Primary Flight Display (PFD) program. It should interface with Flight Simulator using SimConnect.
Construction
The development are done in several parts:
- User Controls for each gauge on the PFD;
- PFD Container User Control;
- Primary Flight Display exe program
User Controls For Each Gauge on PFD
Each digital instrument on the PFD is a separate .Net Usercontrol.
Airspeed Gauge
Gauge when Flaps and Gear are up.
Gauge when Flaps and Gear are lowered.
Artificial Horison
Artificial Horison (AH) with a Radio Altitude warning (HT)
G Force Gauge
G Force gauge showing 1g and included the minumum and maximum g's pulled with the 2 white triangles
Vertical Speed Indicator
VSI gauge showing straight and level flight
More to follow soon.
Container User Control
All the separate digital instruments' .Net Usercontrols are then added and placed into the correct position in another .Net Usercontrol.
Primary Flight Display EXE Program
This program uses a normal Win32 application with the Container User Control added to the form together with a timer control. Every time the timer's Tick event fires, the data is read from FSX using SimConnect and passed to the properties of the PFD Container User Control. |