Air Manager 2.1.1 error message

Discuss suspected bugs with other users and Sim Innovations Staff

Moderators: russ, Ralph

Post Reply
Message
Author
pilotctk
Posts: 15
Joined: Sun Feb 07, 2016 1:09 am

Air Manager 2.1.1 error message

#1 Post by pilotctk »

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
Attachments
Air Manager error.jpg

jml79
Posts: 87
Joined: Wed Jan 06, 2016 4:33 am

Re: Air Manager 2.1.1 error message

#2 Post by jml79 »

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.

User avatar
Corjan
Posts: 2939
Joined: Thu Nov 19, 2015 9:04 am

Re: Air Manager 2.1.1 error message

#3 Post by Corjan »

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

pilotctk
Posts: 15
Joined: Sun Feb 07, 2016 1:09 am

Re: Air Manager 2.1.1 error message

#4 Post by pilotctk »

Thanks, gents!

User avatar
russ
Posts: 593
Joined: Tue Oct 27, 2015 5:37 pm

Re: Air Manager 2.1.1 error message

#5 Post by russ »

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

Post Reply