PDA

View Full Version : Any Simconnect gurus here?



Cratermaker
July 9th, 2009, 11:10
I was working on a little project with microcontrollers and suddenly realized just now that since I have the ability to communicate with my own software (Written in visual C++) to a microcontroller board with general I/O pins and A/Ds on board, I can pretty much start building some custom cockpit hardware since I can drive LEDs, read potentiometer positions, etc.

All I need is to find out how to send values from my software to and from FSX. Does anyone know a simple tutorial somewhere that would let me retrieve and set some value in FSX over simconnect like throttle position or light switch position or some such? I will be super happy if I could just flip lights on and off with an external switch! I know I need the SDK, but a clear example would be great if anyone has seen one. Thanks!

Bjoern
July 9th, 2009, 12:47
Not sure if it's exactly what you want:

http://www.zero-altitude.com/blog/ (Bottom left side: "Sim Connect Tutorials")
http://www.mycockpit.org/forums/showpost.php?p=81732&postcount=3
(The first tutorial is also avaiable on flightsim.com)

Cratermaker
July 9th, 2009, 12:56
That is EXACTLY what I'm looking for. Thanks!

I'll report back when I get around to trying it, hopefully soon!

Bjoern
July 9th, 2009, 16:48
You're welcome and good luck with your project! :)

beatle
July 11th, 2009, 12:09
If you can talk to your custom hardware from managed code, you can also try my new Managed SimConnect SDK, see my blog (http://beatlesblog.spaces.live.com) or my Windows Azure Cloud Site (http://beatlesblog.cloudapp.net) to download the SDK.

Tim