View Full Version : Newbie question - Simconnect Stall Warning in VB

06-01-2012, 08:45 PM
I am ready to admit that I don't know enough about programing and therefore I am begging for help.
I cant seam to be able to extract stall warning state from FSX
Or anything with a Boolean value for that matter.
Is my code correct?

fsx_simconnect.AddToDataDefinition(DEFINITIONS.Struct1, "Stall Warning", "Bool", SIMCONNECT_DATATYPE.FLOAT32, 1, 11)

Please help !!!!!!

Jim NZ
06-01-2012, 10:10 PM
Have a look at the various "demo" source code examples in ,,,
The VB.net one has a bool in it.

Also do a google using,,
FSX simconnect "source code"
Happy reading.

As this thread has nothing to do with what we chat about in here, it will be deleted shortly.
Jim NZ

06-02-2012, 09:22 AM
Thank you
I figured it out today, It wasn't the code but the airplane.
It worked on Cessna but not on LJ45.....