July 28, 20178 yr 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 .
July 29, 20178 yr 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.