PDA

View Full Version : Extracting gauge informations from FSX


marios
17 Oct 2009, 18:16
Hello
This is my first post in the forum and i am not well educated in FS development.

I am able to do some programming in C and C++ and hopefully i am improving my skills.

I am building my Bell 206 simulator and i want to use real gauges. I do not have money to spend but i have time. So i do not intent to buy ready gauges and interface cards.:)

After spending some time in the forum and Google i could not figure out how the gauge information can be extracted. I do have the fscuipc software but i never played around with the SDK. Also i believe the gauge information can be found in FSX software if i have the SDK installed isn’t it.:D

I am asking for some help, tutorials or relevant information. I thing if i can understand how values can be extracted and work i can design a PCB that will drive a small servo motor (like Futaba or similar) to get the gauge needle spin. ;) Did anyone tried to make real gauges as well.

Thank you very much

Doia
27 Jan 2010, 17:16
Not sure if I understand your question but i'll give it a shot.
You can't extract local gauge variables from Flight Simulator using FSUIPC. You can find everything you CAN extract using FSUIPC in the "FSUIPC Offsets" pdf document that comes with it.
If you can't find what you need there try to look at the Simconnect SDK that comes with FS - Simconnect is just another way of obtaining information from FSX.
Lastly take a look at "http://www.learjet45chimera.co.uk/". And at this tutorial by Dave Ault http://homepage.ntlworld.com/david.ault/lj45c_code_info/Writing_a_Cockpit_Instrument.zip
I can't help you more but if you have any more questions shoot an email to Dave Ault (his contact info is in the learjet website) he's a real helpful person and should be able to answer any questions you might have about creating your own simulator.

n4gix
27 Jan 2010, 20:36
Compiled gauges cannot be de-compiled back into source code. The most that could be done would be an assembly language file, which would be quite useless...