PDA

View Full Version : C# programming and Simconnect



kranky
07-25-2007, 02:53 PM
I've been learning this stuff myself and thought other people just starting out might like it too.

I'm building a motion platform and need to extract all the necessary acceleration and g-force data from FSX. I'm gonna try to write my own in C# using Simconnect.

Anyways, if you are a beginner like me here are 2 tutorial links that I found helpful. The first is how to interface/connect with simconnect. The other is an introduction to learning c#. Enjoy.

Simconnect Tutorials - parts 1-4
http://www.notasenator.com/blog/

C# Basics
http://kyrathaba.dcmembers.com/onlinetutorials.htm

Thanks to these authors who made them, they've helped me a lot.

whoispankaj
07-25-2007, 11:01 PM
Although I cannot answer your query, I would like to express my thanks for posting the link as even I am starting to work on C# and Simconnect to come up with my Autopilot module...

further
05-14-2009, 06:51 PM
I like the tutorials, I submit these two other:

"Follow this plane" is a working FSX SimConnect tutorial that creates a second airplane that is constantly trying to reach waypoints that are sent at fixed interval by the program. When those waypoints are near your own aircraft, then the second aircraft is flying in your vicinity.


"Point of view" is also a Simconnect tutorial on how to create (very simply) a walking camera, that you can move and point at convenience with the keyboard. There is also a possibility to record camera "flight paths" to create great smooth FSX video footages.

Both are in C++, but the differences with C# are pretty minor, and are explained both in the FSX SDK help file and in the first tutorial above.