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.

PMDG 747 QOTSII module version 1.1 trim function

Featured Replies

enclosed my trim function. I think it shows better the value of the trim setting.

feel free to use it in your user.lua.
Happy Landings Stefan Liebe

function B747_Elevator_Trim_show ()

    ElevVal = ipc.readUW(0x0BC2)
    if ElevVal >= 49000 then
    ElevVal = (ElevVal - 65487)
    end

ElevTrimVar = (ElevVal*0.00074+3)
    DspShow("Elev", string.format("%2.1f", ElevTrimVar))

end


function B747_Elevator_Trim_up ()

    ipc.control(65615)
    B747_Elevator_Trim_show ()
end

function B747_Elevator_Trim_dn ()

    ipc.control(65607)
    B747_Elevator_Trim_show ()
end


function B747_Elevator_Trim_upfast ()

    i = 0
    while i <= 4 do
    ipc.control(65615)
    i = i + 1
    end
    B747_Elevator_Trim_show ()
end

function B747_Elevator_Trim_dnfast ()

    i = 0
    while i <= 4 do
    ipc.control(65607)
    i = i + 1
    end
    B747_Elevator_Trim_show ()
end

 

regards
Stefan Liebe

Will try it and add it to the module with your permission!

thanks

Guenter Steiner
--------------------------------------------------------------------------------------

Betatester for: A2A, LORBY, FSR-Pillow Tester
--------------------------------------------------------------------------------------

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.