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.

PMDG737 NGXu - APU on and start

Featured Replies

Hi, 

I've been trying to combine two functions to one switch on Saitek Switch Panel to be able to turn on and start the APU in my NGXu. This is probably my 500th attempt. What am I doing wrong? 

Using the latest LINDA, FSUIPC (reg) and latest 737NGXu profile.

Any help would be much appreciated.

function NGX_APU_on ()
        ipc.control(PMDGBaseVar+118, PMDG_ClkL)
        ipc.sleep(50)
        NGX_APU_start()
        ipc.control(PMDGBaseVar+118, PMDG_ClkL)
        NGX_APU_show()

Thanks,

Glenn Asher

Edited by gasher9999
Typo

Glenn Asher

Hello,

 

that is, because things are not as easy as they seem 😉

 

On isse is, that you probably have now two functions named NGX_APU_on (). Only one is working then. Be sure to name them differently.

 

If this is not the case:

You could probably use the already existing functions ad combine them:

 

function NGX_start_and_on ()
    NGX_APU_on ()
    ipc.sleep(300)
    NGX_APU_start()
end

 

However, I haven't tested this, but should work

 

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

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

  • Author

That worked, thank-you so much Guenter.😀

Glenn Asher

Glenn Asher

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.