Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Show string L variable in Desktop FIP AAO FSX

Featured Replies

Good aftenoon all . I am not able to see L variables generated as strings inside an AAO Desktop FIP. Neither do I see it inside custom XML gauge inside the plane . Variable is generetaded in RPN script as in    'Sector_1'·(>L:Vatsim_ATC_Freq_Str,String) . As soon as i replace content with a number , say 133.33 the content is visible both in FIP and plane gauge. Maybe someone can help me out ?I have tried Text Element. and also Formatted Text. Thank you.

  • Commercial Member
32 minutes ago, fasencio said:

Good aftenoon all . I am not able to see L variables generated as strings inside an AAO Desktop FIP. Neither do I see it inside custom XML gauge inside the plane . Variable is generetaded in RPN script as in    'Sector_1'·(>L:Vatsim_ATC_Freq_Str,String) . As soon as i replace content with a number , say 133.33 the content is visible both in FIP and plane gauge. Maybe someone can help me out ?I have tried Text Element. and also Formatted Text. Thank you.

I would have to see the actual code of the AAO FIP. Be mindful that there is a PDF about how to create AAO gauges and also a Gauge Editor dialog within AAO. The correct element would be <GaugeText>

It will never work in a simulator XML gauge though, because they don't support these LVars. String LVars are an AAO exclusive construct, they don't exist in the sim/SDK. You would have to create a html instrument instead of the XML gauge and query the AAO WebAPI from that.

Edited by Lorby_SI

LORBY-SI

  • Commercial Member
<Element>
	<Position X="90" Y="45"/>
	<GaugeText>
		<FontFace>ARIAL NARROW</FontFace>
		<FontHeight>18</FontHeight>
		<FontColor>0xffffff</FontColor>
		<HorizontalAlign>CENTER</HorizontalAlign> 
		<Value>%(L:somename, String)%!s!</Value>
	</GaugeText>
</Element>

 

LORBY-SI

  • Author

Thank you Sir. I have checked both AAO and Special Gauges manual ( format_string !s! ), I understand the sims limitation. I will try out your code suggestion in the FIP which would serve me well as in other ocassions..... But I do want the text to appear , in fact , I am retreiving the info from Vatsim and filetring it for my intests , obtaining Name and Freq of controllers I want. Greetings and congratulations for powerfull AAO . I have used it in 2020 and 2024 . And in fsx it performs very well , even in an very modest machine .... very modest, indeed. Greetings for you.

  • Commercial Member
17 minutes ago, fasencio said:

Thank you Sir. I have checked both AAO and Special Gauges manual ( format_string !s! ), I understand the sims limitation. I will try out your code suggestion in the FIP which would serve me well as in other ocassions..... But I do want the text to appear , in fact , I am retreiving the info from Vatsim and filetring it for my intests , obtaining Name and Freq of controllers I want. Greetings and congratulations for powerfull AAO . I have used it in 2020 and 2024 . And in fsx it performs very well , even in an very modest machine .... very modest, indeed. Greetings for you.

Double check that you write the LVar exactly the same everywhere. AAO RPN is case sensitive and space characters matter too. If you cange upper/lower case or have too few/too many spaces, AAO sees them as different variables.

LORBY-SI

  • Author

Got in the FIP now . Thank you Sir

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.