Sign in to follow this  
Redlander

Timer for flashing text

Recommended Posts

The gauge below begins flashing alternating red and white when the aircraft descends through the decision height (selected in a separate radar altimeter). I would like to have the flashing stop after three seconds. Can that be done? I didn't spot any solution in my search of the forum or FAQ - I hope I didn't miss something obvious!*********************************************(A:Radio height, feet) 1000 <%((A:DECISION HEIGHT, feet))%!4d! DH*******************************************Cheers, Bob

Share this post


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

Hi, Just thought of this practical solution:...Color="%('White' 'Red' (A:Radioheight, feet) (L:radio_ht_adjust,feet) - (A:DECISION HEIGHT,feet) < d (L:ThreeSecs,number) * (>L:ThreeSecs,number)(P:absolute time, number) 1 % 0.5 > d (L:ThreeSecs,number) + 7 min (>L:ThreeSecs,number) * ! (L:ThreeSecs,number) 6 > or ?)"...This should make the text flash white/red for about 3 secs and then stay white. You can play with "7" and "6" values to adjust the timer.Let me know if it works :-)Tom

Share this post


Link to post
Share on other sites

Hi Tom,I'm no programmer but I played with all combinations of the "7" and "6" values and all I got was either steady blinking or just one quick flash - no combo permitted an adjustment of the flash timing. Thanks for giving this your time. Bob

Share this post


Link to post
Share on other sites

Hi,I use:Color="%('orange' 'dkgray' (A:Radio height,feet) (A:DECISION HEIGHT,number) - abs 50 < (P:absolute time, number) 1 % 0.5 > * ? )" You can vary with the amount of altitude difference between radio- and decision height.Say you descend with 600 ft/min, then in 3 seconds the altitude change is 30 ft so the formula becomes:Color="%('orange' 'dkgray' (A:Radio height,feet) (A:DECISION HEIGHT,number) - abs 15 < (P:absolute time, number) 1 % 0.5 > * ? )" Hope it helps,Jan"Beatus ille qui procul negotiis..."

Share this post


Link to post
Share on other sites

Hi,Could you try using 28 instead of 7 and 27 instead of 6?.I think it should work... Tom

Share this post


Link to post
Share on other sites

Nice going, Tom - Your amended code works perfectly.Jan, I got yours to work also.Much thanks to you both!Best regards, Bob

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