July 22, 201213 yr Hi guys. I've been a long time lurker of this forum, and have gotten a lot of valuable info. But now I've gotten to the point where I need som help. I'm trying to build a small C# / SimConnect application to monitor a flight. I've have succesfully created the connection, added event listeners and read variables, but I can for the love of god not find an event that fires once the user airplane takes off or land. I've searched the documentation and a number of forums, but haven't found anything. Can anyone help? I've thought about reading the variable "alt above ground", and read it at invervals (very short intervals below 1000 ft), and then implement my action once i reads zero. It would definitely be a way to go, but it would require a lot more coding. Hoping you guys can help? Cheers
July 22, 201213 yr How about using vertical speed in conjunction with altitude? For example, when vertical speed is 0 FPM for, say, 5 seconds and the aircraft is less than 500 feet AGL? Since it's very unlikely for an aircraft's vertical speed to go to 0 FPM at any point prior to touchdown under 500 feet AGL - except if the aircraft is going around, hence the need for a time delay on when to say the aircraft has landed. Luke Harvest
July 22, 201213 yr Author That's not a bad idea. I think I'll try it out.... Thanks for your input Noble. So it is not just me that can't find an event for detecting landing/takeoff?
July 26, 201213 yr According to the FSX SDK the SIM ON GROUND flag should be available in Simconnect. Isn't it, or isn't it what I think it is? Gerry Howard
July 28, 201213 yr Author I don't know why I didn't see the SIM ON GROUND flag the first 100 times I looked in the SDK. But it is there, and it works as expected. Thanks for all the help.
Create an account or sign in to comment