December 16, 201213 yr I'm trying to add a new feature to the sample app that comes with the NGX SDK (code) if (pS->PED_annunParkingBrake == false) { printf("\nParking Brake: [OFF]"); }else{ printf("\nParking Brake: [ON]"); } Just to keep it simple let's say I'm adding the above block into ProcessNGXData() // This function is called when NGX data changes The problem is it doesn't seem to notice when the parking brake status changes as I only get the initial state. In the same way I was able to read the status of some other systems like the landing gears, but failing with this one. Would really appreciate any help.
December 20, 201213 yr Ok, as I will be activating the parking break from a physical switch I don't really need to check its status within the sim, but i'm still stucked with some other events that don't seem to be handled by the structure. LE Flaps Transit or LE Flaps Ext indicators, just to name couple examples. pS->MAIN_annunLE_FLAPS_TRANSIT pS->MAIN_annunLE_FLAPS_EXT Both are permanently empty. Any input will be welcome.
December 21, 201213 yr Commercial Member There are a great deal of steps you're missing. You have to read through the FSX SDK on SimConnect and how to read data via SimConnect. A great deal of knowledge required to accomplish what you're wanting is contained within the SDK. Ed Wilson Mindstar AviationMy Playland - I69
December 22, 201213 yr You don't seem to understand, as stated before, I'm extending the sample code that comes with the SDK, which is already a fully functional piece of code.
December 22, 201213 yr Commercial Member Yes... the example appears to be requesting a custom data structure that isn't a default SimConnect variable... thus asking for help in the SimConnect forum isn't going to get very far. I didn't bother going through the entire code prior to my last post. My bad. You need to be talking to PMDG about this... it's not something for the SimConnect forum. Ed Wilson Mindstar AviationMy Playland - I69
December 22, 201213 yr You need to be talking to PMDG about this... it's not something for the SimConnect forum. They don't provide support about this, it's clearly stated in the SDK documentation.
Create an account or sign in to comment