August 22, 20179 yr I have all the autopilot buttons mapped successfully to my Goflight hardware using the built in keypress commands but the one item still left to do is the altitude pre selector. Has anyone found a way to get this gauge to respond to anything other than mouse clicks. I cannot even get Fsuipc logging to show anything happening.
August 22, 20179 yr I'm not 100% sure if it works in this Lear, but try assigning a key/button to AP_PANEL_ALTITUDE_HOLD in FSUIPC. This in binded to ALT SEL in at least some addons. So this is not the stanfard AP_Altitude_Hold assignment, but an alternative one with panel included, as above. Bill 😎FS2024 • Currently enjoying : A2A Legacy & Comanche 2024 • Black Square Commander 114, Bonanzas, Barons, C208, TBM850, Dukes • COWS DA40 & DA42 • FSW Legacy, C24R Sierra • Got Friends A32 Vixxen • ISW Evektor EV-97 • FSReborn Sirius TL3000 • Sting S4 • Flying Fries Gabriel 160TR • Flyboy Rans S6S • Skyward DA50RG • SWS Zenith CH701, RV-8, RV-10, RV-14 • BRdesign Thorp T-211, AA5 Grumman Tiger • Bagolu C172M & ICP Savannah Currently flying IRL: Evektor EV-97 EuroStar, Pipersport SportCruiser, Aeroprakt A32 Vixxen, Bristell Classic, TL Sirius TL-3000, Rans S6LSTrackIR • BeyondATC • PMS GTN Payware • RealTurb • Axis & Ohs9800X3D • RTX 3080 • 64GB DDR5-6000Former PPL IR, grounded by diabetes. Now UK NPPL(M)
August 22, 20179 yr Author Thanks Bill, I will try that when i get back home. I have messaged the Dev to see if a keypress combo could be added, hopefully he will see the need for it.
August 22, 20179 yr I think you can write the desired altitude in feet into the L:ALERTER_DIAL variable.
August 23, 20179 yr 15 hours ago, Glynn said: I have all the autopilot buttons mapped successfully to my Goflight hardware using the built in keypress commands but the one item still left to do is the altitude pre selector. Has anyone found a way to get this gauge to respond to anything other than mouse clicks. I cannot even get Fsuipc logging to show anything happening. The altitude selector in the Lear35A is custom coded in support of the improvements made to the autopilot. To set a value in the altitude window write the altitude value in feet to the Lvar L:ALERTER_DIGITAL . Al
August 24, 20179 yr Author Further to this Mark kindly sent me some code, now I am completely stuck Dear Customer, You will need to implement this into the key code. (M:Event) 'LeftSingle' scmp 0 == if{ (L:ALERTER_DIGITAL, Bool) 1000 - 0 max (>L:ALERTER_DIGITAL, Bool) } (M:Event) 'RightSingle' scmp 0 == if{ (L:ALERTER_DIGITAL, Bool) 1000 + 99900 min (>L:ALERTER_DIGITAL, Bool) } (M:Event) 'WheelDown' scmp 0 == if{ (L:ALERTER_DIGITAL, Bool) 100 - 0 max (>L:ALERTER_DIGITAL, Bool) } (M:Event) 'WheelUp' scmp 0 == if{ (L:ALERTER_DIGITAL, Bool) 100 + 99900 min (>L:ALERTER_DIGITAL, Bool) } (L:MODE_SPD, bool) 1 == (L:MODE_VS, bool) 1 == or (L:MODE_ALTSEL, bool) 1 == and if{ (L:ALERTER_DIGITAL, Bool) (>K:AP_ALT_VAR_SET_ENGLISH) } Regards, Customer service Flysimware Simulation Software
August 24, 20179 yr 7 hours ago, Glynn said: Further to this Mark kindly sent me some code, now I am completely stuck Glynn, Do you have a registered version of FSUIPC? If so, I can put together and send you a tiny Lua script that goes in the FSX (or P3D) modules folder and will let you enter an altitude value into the L35 altitude window. The idea would be you would push a key (or key combination, or a button/switch -- your choice) that you assign to the script with FSUIPC and a short message would pop up asking you to enter an altitude value in feet, or to enter a * to exit the script without entering a value. You would then just type in the altitude value and hit the Enter (Return) key. Let me know if something like that might meet your needs. Al
August 25, 20179 yr Commercial Member Ark is planing on using his code he wrote to input any value from your keyboard. But if you look at the last line of code i sent you there is a separate rule that tells the custom value to be sent to the default value. If ALT/SEL mode is off then there is another hidden logic code that tells the default to be zero so the aircraft will not capture any value in the alerter. So we only want the custom input from your keyboard to work if the conditions are right so there is not a conflict flooding in the background. Which i think Ark's is doing if you use it with AlT/SEL off. So we are going to improve Ark's code tomorrow and he will share it here once done.
August 25, 20179 yr Commercial Member I agree, one of the best :) Paul Grubich 2017 - Professional texture artist painting virtual aircraft I love. Be sure to check out my aged cockpits for the A2A B-377, B-17 and Connie at Flightsim.com and Avsim library
August 25, 20179 yr Author 1 hour ago, warbirds said: I agree, one of the best :) I installed your darker VC textures last night, very nice indeed, thankyou
August 26, 20179 yr On 8/25/2017 at 2:49 AM, Glynn said: What amazing support, looking forward to whatever you come up with. It turns out the tiny Lua script for setting the Lear altitude window from the keyboard as I described above, works fine -- I have been using it successfully for months now. If interested, let me know. Al
August 30, 20179 yr On 8/28/2017 at 2:38 AM, Glynn said: Al, I would like to give your lua file a try Glynn, just PM me an email address and I'll send it right out. Al
Archived
This topic is now archived and is closed to further replies.