Hello - after I installed AM 2.1.1, I now receive an error message when I "show" the Eclipse 550 v3.0 instrument. Please see the attached picture.
Any help would be greatly appreciated. Thanks!
Chris
Air Manager 2.1.1 error message
Re: Air Manager 2.1.1 error message
Well, I took a look but.... Line 1629 is
txt_set(adf1_hsi_txt, string.format("%.4s|%u",adf1_id,adf1a) )
and it uses two data refs;
"sim/cockpit2/radios/actuators/adf1_frequency_hz", "INT",
"sim/cockpit2/radios/indicators/nav1_nav_id", "DATA[500]",
I am guessing that there is an issue with the data(500) data type and the string.format function but to be honest, this is beyond my current level of LUA scripting. I have seen similar functions in other gauges by Russ Barlow and have been meaning to ask him what they are and how they work. Hopefully he will be along soon and can help us both.
txt_set(adf1_hsi_txt, string.format("%.4s|%u",adf1_id,adf1a) )
and it uses two data refs;
"sim/cockpit2/radios/actuators/adf1_frequency_hz", "INT",
"sim/cockpit2/radios/indicators/nav1_nav_id", "DATA[500]",
I am guessing that there is an issue with the data(500) data type and the string.format function but to be honest, this is beyond my current level of LUA scripting. I have seen similar functions in other gauges by Russ Barlow and have been meaning to ask him what they are and how they work. Hopefully he will be along soon and can help us both.
Re: Air Manager 2.1.1 error message
Hi,
The DATA[500] works a bit different in AM 2.1.1.
Change the "DATA[500]" part to "STRING". Then quit both AM and X-plane, and restart them both. That should do the trick.
We will update the instruments shortly on the store, with this fix.
Sorry for the trouble,
Corjan
The DATA[500] works a bit different in AM 2.1.1.
Change the "DATA[500]" part to "STRING". Then quit both AM and X-plane, and restart them both. That should do the trick.
We will update the instruments shortly on the store, with this fix.
Sorry for the trouble,
Corjan
Re: Air Manager 2.1.1 error message
Thanks, gents!
Re: Air Manager 2.1.1 error message
Corry it took me so long to join in but Corjan is really the expert on this. In version 2.1.1 Corjan changed this and it broke (or fixed if you ask him ) the DATA[500} so it now would require STRING. All I know is that If I do what he says it almost always works.
Russ Barlow
Air Manager Evangelist
Air Manager Evangelist