December 27, 20214 yr I'm trying to program the Saitek Multi Panel in FSX basic mode, and I've noticed that the ALT and VS displayed are in meters. I've try to find inside the scripts if I could modify it but don't succed... If somebody could help and reply. JPP094
December 29, 20214 yr It is some time since we were supporting FSX. You can set the display back to feet by editing common.lua file. Carry out the following steps: Select Setup LINDA. Ensure Developer Mode ticked. Open LINDA Editor. Click on Open. Select common.lua file. Enter this search string sim >= Change 10 to 8. Clcik Save. Click on Reload LUA Engine. The effect of this change will be to set the variable P3D to 1. This will ensure Altitude and VS are displayed in feet not metres. Andrew Gransden Scotland, UK LINDA Support/Developer - VATSIM and BAVirtual - Airbus Flyer i7 1TB SSD GTX980 - FSX/P3D - Aerosoft Airbus A318/A319/A320/A321 - FS2Crew
December 29, 20214 yr Author Hi Andrew, Thanks for replay, I did't find the string but I found sim == 10. I changed to sim > 8 but nothing changed... I found the string line 42. Thanks for your help. JPP094
December 29, 20214 yr I forgot to ask which version of LINDA you are using with FSX. The metre/feet fix was not put in until later versions. Andrew Gransden Scotland, UK LINDA Support/Developer - VATSIM and BAVirtual - Airbus Flyer i7 1TB SSD GTX980 - FSX/P3D - Aerosoft Airbus A318/A319/A320/A321 - FS2Crew
December 29, 20214 yr At line 42 in common.lua change sim == 8 (or sim == 10) to true. The line should now read if true then. Alternatively, insert P3D = 1 at line 4. Do you have Saitek Panels ticked in LINDA Setup? If so please try it unticked and report results. I may need to dig into the GUI code to make a similar change. This will be involved as I will need to search in my archive for this as I did not think anyone used FSX still. Andrew Gransden Scotland, UK LINDA Support/Developer - VATSIM and BAVirtual - Airbus Flyer i7 1TB SSD GTX980 - FSX/P3D - Aerosoft Airbus A318/A319/A320/A321 - FS2Crew
December 29, 20214 yr Author I've done the changes, but the issue is still here. Thanks for time, if I wrote a lua script only for the multi panel could it works ? I think the issue is inside the GUI code because I try to inib the test code inside common.lua and at the strat it 's running.
December 29, 20214 yr As I said, try unticking the Saitek Panel checkbox to turn off the GUI implementation for the Multi Panel. This should give you a temporary solution to the units problem. The altitude is stored in metric in all flight sims and has to be converted to feet for display. The LUA code is slower than the GUI implementation but will work. Edited December 31, 20214 yr by ScotFlieger Andrew Gransden Scotland, UK LINDA Support/Developer - VATSIM and BAVirtual - Airbus Flyer i7 1TB SSD GTX980 - FSX/P3D - Aerosoft Airbus A318/A319/A320/A321 - FS2Crew
December 30, 20214 yr Author Hi I’m out ouf home until the 2nd of January. When I ll Côme back l’ll Try to unticking thé saitek multi panel and replay. best regards, Jpp094
January 3, 20224 yr Author Hi Andrew, First thing, Happy new year to everyboby ! I've unticked the Saitek Panel checkbox, saved the new config, and the result is always the same.Tell me if I can do something else. JPP094
January 3, 20224 yr Please read and follow the Fault Diagnosis Procedure (under LINDA Support) and email me the logs. Unfortunately I can no longer support FSX so there will be no software fixes I can offer. Andrew Gransden Scotland, UK LINDA Support/Developer - VATSIM and BAVirtual - Airbus Flyer i7 1TB SSD GTX980 - FSX/P3D - Aerosoft Airbus A318/A319/A320/A321 - FS2Crew
Archived
This topic is now archived and is closed to further replies.