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.

SimConnect SDK NGX + P3D V4 basic example

Featured Replies

Hello everyone!

Has anyone of you managed to run successfully the "PMDG_NGX_ConnectionTest.cpp" example in P3D v4 from the SDK folder?

On my side, I have some issues:

What is working:

It runs and connects correctly to SimConnect: I can use the shortcuts "Shift + Ctrl + B/C/D".

What is not working:

- Shortcut "###### + Ctrl + A" (ie toggle TaxiLightSwitch())

- Entering into ProcessNGXData() function. (I checked with printf).

 

It seems to me that the 2 lines to put in the "737NGX_Options.ini"  ([SDK] EnableDataBroadcast=1) don't work.

Has anyone of you faced the same situation?

 

Thank you . 

 

 

  • Author

For your info, it is a problem with the SDK. The RequestClientData has an incorrect parameter. It shall be as per the orange text....

 

hr = SimConnect_RequestClientData(hSimConnect, PMDG_NGX_DATA_ID, DATA_REQUEST, PMDG_NGX_DATA_DEFINITION, SIMCONNECT_CLIENT_DATA_PERIOD_VISUAL_FRAME, SIMCONNECT_CLIENT_DATA_REQUEST_FLAG_CHANGED, 0, 0, 0);
 

 

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.