Sign in to follow this  
phjvh

Auto throttle problem

Recommended Posts

I have tried to add a feature to my gauge not to function if autothrottle is not on. As far as I know this is possible in a single switch, and even pretty easy.The feature should be that the case value 0 bitmap is on if autothrottle is not available, and nothing else could be chosen.Now the gauge works fine but all the options are possible even when autothrottle is not connected. What is wrong with this code?80"/> (L:valinta, enum)80"/>80"/>80"/> (>K:AP_PANEL_MACH_OFF, bool) (>K:AP_PANEL_SPEED_OFF, bool) 0 (>L:valinta, enum)0 (>L:Mach-IAS select, bool) 0 (>K:AP_PANEL_SPEED_HOLD) 1 (>L:valinta, enum)1 (>L:Mach-IAS select, bool) 0 (>K:AP_PANEL_MACH_HOLD) 2 (>L:valinta, enum)

Share this post


Link to post
Share on other sites
Help AVSIM continue to serve you!
Please donate today!

Hi,Not tested!I made some changes in the click section.When you press 0 (>L:valinta, enum) the autothrottle goes off line and thereafter it is not possible anymore to press 1 (>L:valinta, enum) and 2 (>L:valinta, enum); the case value 0 bitmap is visible then.Of course you need somewhere another switch to arm the autothrottle again!(A:AUTOPILOT THROTTLE ARM,bool) if{ (>K:AUTO_THROTTLE_ARM) (>K:AP_PANEL_MACH_OFF) (>K:AP_PANEL_SPEED_OFF) 0 (>L:valinta, enum) }(A:AUTOPILOT THROTTLE ARM,bool) if{ 0 (>L:Mach-IAS select, bool) 0 (>K:AP_PANEL_SPEED_HOLD) 1 (>L:valinta, enum) }(A:AUTOPILOT THROTTLE ARM,bool) if{ 1 (>L:Mach-IAS select, bool) 0 (>K:AP_PANEL_MACH_HOLD) 2 (>L:valinta, enum) }Hope it helps,Jan"Beatus Ille Procul Negotiis"

Share this post


Link to post
Share on other sites

Hmmm...it didn't work as it should. the bitmap now freezes to the selected point, but the gauge works. I don't still understand what is the problem...it should work.

Share this post


Link to post
Share on other sites

Hi,May be i don't understand the problem very well.Jan"Beatus Ille Procul Negotiis"

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this