Jump to content
Sign in to follow this  
geodirk

GNS 530 SimConnect Example

Recommended Posts

Since there wasn't any real clear example of how to interact between the GNS 530 using C# through SimConnect, I wrote a minimalist example that hopefully will allow others to avoid some of that initial grief and hair pulling.  The concept will be the same for the 430 if you use that unit instead.  While I don't have the G1000 unit, I'm guessing that it works in a similar manner through the configuration of a .INI file.  You can use this example as the stepping stone to connecting up your hardware to the GNS.

 

I wrote this to connect to P3D using the SimConnect 3.2 version of the DLL.  If you want to target FSX or a different version of P3D, you'll need to swap out the DLL in the references part of the project to something else and also swap out the 'using LockheedMartin.Prepar3D.SimConnect;' statement to the FSX one in the cSimConnect.cs file to the appropriate DLL namespace.

 

VS2015 C# 4.5 Framework project is here: https://www.dropbox.com/sh/a2as1vy4ryme1m0/AABCuBZ11yYixc_1UYwOHFCga?dl=0

 

A copy of the GNS.ini file that is configured to work with the program is included in the zip fle.   You will need to swap out your installed one for mine before launching P3D.  You can find your installed one in the folder: "C:\Program Files (x86)\Mindstar\Flight Simulator Addons\GNS.ini"

 

I hope you find this useful.

 

Geodirk

 

 

Note: the GPS image in the program is just static..

 

GNS530_thumbnail.png

Share this post


Link to post

Hello Mr. Geodirk,

I am trying to adapt you program to FSX-Steam. Due to my lack of experience using Simconnect I am heaving problems to understand the instructions.

Could you please be more specific in which changes I need made to use the program with FSX?

Thank you very much in anticipation.

Best regards,

Bernardo

 

 

Share this post


Link to post

Why would you need his program?  Our 430/530 already has the exact same interface with a working map display.  I am really not understanding the purpose.


Ed Wilson

Mindstar Aviation
My Playland - I69

Share this post


Link to post

I do not know if that product is flexible enough to work with our software.  You would have to check with the manufacturer.


Ed Wilson

Mindstar Aviation
My Playland - I69

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  
  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...