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.

String vars from the sim?

Featured Replies

Is there a way to access string variables from the simulator like ATC ID, ATC TYPE, etc. in AAO?

If I try (A:ATC ID, String) it seems to be a AAO local variable, consistent with the documentation.

Thank you.

  • Author

Ah, nvm, got it working, it was a different problem.
This seems to work fine:

(A:ATC·ID,·String)·(>L:AtcId,·String)·\n
(VOICEVOLUME:30)(SPEAK:@AtcId)·\n

 

  • Author

However, can I write these variables? In the SDK some of them are marked as settable, but code like this doesn't seem to work:

'TEST'·(>A:ATC·ID,·String)

 

  • Commercial Member
4 hours ago, Randolf said:

Ah, nvm, got it working, it was a different problem.

(VOICEVOLUME:30)·(A:ATC·ID,·String)·(SPEAK:your callsign is %s1)

SPEAK can be parametrized, please check the AAO manual, the spec about SPEAK

4 hours ago, Randolf said:

However, can I write these variables?

Not at the moment, sorry. The simulator String vars have a length parameter attached to them. It seemed to complicated if the user has to supply that too. I will look into it again, maybe something can be done in one of the next versions of AAO.

Edited by Lorby_SI

LORBY-SI

Archived

This topic is now archived and is closed to further replies.

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.