Sign in to follow this  
Followers 0
geodirk

GNS 530 SimConnect Example

5 posts in this topic

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

0

Share this post


Link to post
Share on other sites
Help AVSIM continue to serve you!
Please donate today!

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

 

 

0

Share this post


Link to post
Share on other sites

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.

0

Share this post


Link to post
Share on other sites

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

0

Share this post


Link to post
Share on other sites

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  
Followers 0