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.

Aerosoft A320 Professional LVAR's/LUA

Featured Replies

Hi All,

I have got myself a decent flight control system and am trying to assign some of the functions to the switches and rotaries. I have managed this fine with the PMDG 747 and using offsets and am trying to create a profile for the bus through FSUIPC and have created an lua file to do various functions but am a little confused with some of it. The baro increment and decrement is fine as there is some offsets in the action.lua file I got from the Linda forums over at Avsim but I am struggling to try and get other functions to work.

For example trying to map a toggle for the AP1 button and the localiser button, the Localiser button for example:-

if (ipc.readLvar("L:B_AP_LOC") == 1)then

    ipc.writeLvar("L:B_AP_LOC", 0)

    ipc.writeLvar("L:SmallOverheadPushButtons", 1)
end

Have it called APLOCAL_tgl.lua and in the sim can see the option available as an FS Control in FSUIPC, but when I assign it to a button nothing happens, is there a particular parameter I need to set, for it to function (have tried both a 0 and a 1)?

Thanks,


Graham

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.