• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

Reading Fuel Data From CDU

Messages
120
Country
unitedstates
What's the best way to read fuel load information from the CDU?

I have a windows VS 2013 C# app that currently does not connect into FSX. How should I connect into FSX to read some CDU fuel data? Is there an API call I can make to do this? Or so I have to use SimConnect?

I would like to read the fuel values on the Progress page at LSK4R and LSK5R.

I'm trying to build some fuel loading calculations into my existing app.

Thank you...
 
So I was reading the SimConnect Help file, Simulation Variables and I did not see anything related to grabbing FMC/CDU data.

So, I'm guessing this means I can't fetch the CDU fuel data I'm interested in.
 
I found out today that PMDG ships an SDK for their 737NGX.

In the PMDG header file is this remark:

// The rest of the controls and indicators match their standard FSX counterparts
// and can be accessed using the standard SimConnect means.
at line 435.

and then starting at line 1170 are these defines in the PMDG header file:

// CDU
#define EVT_CDU_L_L1 (THIRD_PARTY_EVENT_ID_MIN + 534)
#define EVT_CDU_L_L2 (THIRD_PARTY_EVENT_ID_MIN + 535)
#define EVT_CDU_L_L3 (THIRD_PARTY_EVENT_ID_MIN + 536)
#define EVT_CDU_L_L4 (THIRD_PARTY_EVENT_ID_MIN + 537)
#define EVT_CDU_L_L5 (THIRD_PARTY_EVENT_ID_MIN + 538)
#define EVT_CDU_L_L6 (THIRD_PARTY_EVENT_ID_MIN + 539)
#define EVT_CDU_L_R1 (THIRD_PARTY_EVENT_ID_MIN + 540)
#define EVT_CDU_L_R2 (THIRD_PARTY_EVENT_ID_MIN + 541)
#define EVT_CDU_L_R3 (THIRD_PARTY_EVENT_ID_MIN + 542)
#define EVT_CDU_L_R4 (THIRD_PARTY_EVENT_ID_MIN + 543)
#define EVT_CDU_L_R5 (THIRD_PARTY_EVENT_ID_MIN + 544)
#define EVT_CDU_L_R6 (THIRD_PARTY_EVENT_ID_MIN + 545)
#define EVT_CDU_L_INIT_REF (THIRD_PARTY_EVENT_ID_MIN + 546)
etc.

But there is no CDU defined items in SimConnect that I can find.

So, what am I missing here?
 
Back
Top