- Messages
- 34
- Country

Hi, I'm quite new to C# and SimConnect I have modified example apps to my needs in the past but still my knowledge of C# is very basic.
On to the post now:
I need to determine if the users aircraft is in one of 9 possible states:
1. At Departure Gate
2. Pushing Back
3. Taxying
4. Departing
5. Climbing
6. Cruising
7. Descending
8. Landing
9. At Arrival Gate
This is my thought on how to best determine how to check each state:
1. At Departure Gate:
Check if parking brakes are on and ?
Is there anyway to detect if the aircraft is at a gate?
2. Pushing Back:
Simply check if push back command has been issued - is that possible?
3. Taxying:
Check if aircraft speed is less than 30knts but greater than 0.
4. Departing:
Check if aircraft speed is greater than 100knts + VS is greater than +50fpm + Altitude < 10,000ft?
5. Climbing:
Check if altitude > 10,000ft + VS > +50fpm
6. Cruising:
Check if Altitude = FP flight level + or - 100ft
7. Descending:
Check if Altitude is > 10,000ft + VS = -50fpm or more
8. Landing:
If Altitude < 10,000ft + VS = -50 fpm or more
9. At Arrival Gate:
If on ground + check at valid gate?
So is my theories valid and possible to do with simconnect variables if not what would be a better option
On to the post now:
I need to determine if the users aircraft is in one of 9 possible states:
1. At Departure Gate
2. Pushing Back
3. Taxying
4. Departing
5. Climbing
6. Cruising
7. Descending
8. Landing
9. At Arrival Gate
This is my thought on how to best determine how to check each state:
1. At Departure Gate:
Check if parking brakes are on and ?
Is there anyway to detect if the aircraft is at a gate?
2. Pushing Back:
Simply check if push back command has been issued - is that possible?
3. Taxying:
Check if aircraft speed is less than 30knts but greater than 0.
4. Departing:
Check if aircraft speed is greater than 100knts + VS is greater than +50fpm + Altitude < 10,000ft?
5. Climbing:
Check if altitude > 10,000ft + VS > +50fpm
6. Cruising:
Check if Altitude = FP flight level + or - 100ft
7. Descending:
Check if Altitude is > 10,000ft + VS = -50fpm or more
8. Landing:
If Altitude < 10,000ft + VS = -50 fpm or more
9. At Arrival Gate:
If on ground + check at valid gate?
So is my theories valid and possible to do with simconnect variables if not what would be a better option



