Jump to content
Sign in to follow this  
ahuimanu

777 SDK CDU information?

Recommended Posts

One nice thing about the new 747 SDK is that we have access to the CDU data.  Do you foresee this feature being added to  the 777 SDK (or perhaps even the 737)?

Thanks


Jeff Bea

I am an avid globetrotter with my trusty Lufthansa B777F, Polar Air Cargo B744F, and Atlas Air B748F.

Share this post


Link to post
Share on other sites
5 hours ago, ahuimanu said:

One nice thing about the new 747 SDK is that we have access to the CDU data.  Do you foresee this feature being added to  the 777 SDK (or perhaps even the 737)?

Thanks

Are you sure the data is not there? That was the issue the guy that interfaced the Engravity CDU with the PMDG aircraft's had (https://shop.pollypotsoftware.org.uk/engravity-cdu-pmdg-interface.html) but with some SP he was able to make it work for all 3 (NGX/777/744)

 

 


Chris Makris

PLEASE NOTE PMDG HAS DEPARTED AVSIM

You can find us at http://forum.pmdg.com

 

Share this post


Link to post
Share on other sites

Hi Jeff,

The 737 SDK already contains the necessary information to access the CDU data. This information is (or at least was) missing in the 777 SDK, but it nevertheless worked the same way as with the 737 (just replace 737 by 777 and add the center CDU). I asked for and received permission to use it that way.

Maarten


Maarten Boelens ([m][a:][R][t][ʏ][n])
Developer of SimLauncherX

ftx_supporter_avsim.gifC172Siggy1_zps11944daf.jpg

Share this post


Link to post
Share on other sites

thanks,

i only saw it documented in the 747 SDK and I didn't peek at the 737 in depth as my project would not focus on it.

 

so the data can be extracted in the same manner as the 747? 


Jeff Bea

I am an avid globetrotter with my trusty Lufthansa B777F, Polar Air Cargo B744F, and Atlas Air B748F.

Share this post


Link to post
Share on other sites

Hi Jeff,

I am pretty sure it works the same way as the 747. Unfortunately I cannot check that, because I only own the 737 and the 777. The 747 is on my wishlist.

Maarten


Maarten Boelens ([m][a:][R][t][ʏ][n])
Developer of SimLauncherX

ftx_supporter_avsim.gifC172Siggy1_zps11944daf.jpg

Share this post


Link to post
Share on other sites

Thanks Maarten.

The process is well documented in the 747 SDK whereas not at all in the 777 SDK.  I just need to brush up on my Win32 stuff.  When you guys do a GUI in Win32, are you using the straight API or MVC or what? 

Or, has anyone developed a managed .NET interface? I know that PMDG uses SimConnect, so can we create managed classes and structs to mirror those in PMDG_747QOTSII_SDK.h and otherwise use the managed interfaces that Lockheed Martin provides in the latest SDK?

I'd find the managed/.NET workflow to be easier overall.

 


Jeff Bea

I am an avid globetrotter with my trusty Lufthansa B777F, Polar Air Cargo B744F, and Atlas Air B748F.

Share this post


Link to post
Share on other sites

Hi Jeff,

I'm using WPF and C# and a modified version of a managed SimConnect library called the 'Beatles Blog SimConnect' library. Unfortunately this library does not seem to be available any more. LM's managed library looks similar, but since I have everything working now and I am able to connect to both FSX and P3D, there's no benefit for me to convert to LM's library.

You need to set up the proper data structures and use the SimConnect_RequestClientData function. The 737 client data area is called  "PMDG_NGX_Data", the 777 client data area is called "PMDG_777X_Data" and I presume that the 747 data area is called "PMDG_747X_Data".

If you haven't done any SimConnect programming before and if you are new to GUI design, don't underestimate the amount of work needed (several hundred hours at least) to get a working data connection and a GUI that presents the data properly and is able to act appropriately to button presses. If you need more information, please send me a PM. 

Maarten


Maarten Boelens ([m][a:][R][t][ʏ][n])
Developer of SimLauncherX

ftx_supporter_avsim.gifC172Siggy1_zps11944daf.jpg

Share this post


Link to post
Share on other sites

Hi Maarten,

The P3D v4 managed SimConnect Library/Class looks similar the Beatle's work: http://www.prepar3d.com/SDKv4/sdk/simconnect_api/managed_simconnect_projects.html

I'll PM about the other topics. I feel very comfortable with C# and the .NET environment and, in a former life, I was fairly comfortable with C/C++.  I always found the Win32/MFC stuff strange, so I usually avoided it.

 


Jeff Bea

I am an avid globetrotter with my trusty Lufthansa B777F, Polar Air Cargo B744F, and Atlas Air B748F.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...