March 4, 201214 yr I just did a quick perusal of the SDK...is there any way to read the cabin diff press and altitude, and the six lines of text on the FMS CDUs?What I want to do is code a touchscreen overhead panel to run networked on a second PC (need the cabin press readings for that) and also a separate touchscreen app for one or both FMS CDUs, which would need the text lines as displayed on the CDUs. I can't find either of those data elements in the .h file. Bob Scott | President and CEO, AVSIM Inc ATP Gulfstream II-III-IV-V Sys1 (MSFS20+24/XPlane12+11): AMD 9800X3D, water 2x240mm, MSI MPG X670E Carbon, 64GB GSkill 6000/30, nVidia RTX4090FE Alienware AW3821DW 38" 21:9 GSync, 2x4TB Crucial T705 PCIe5 + 2x2TB Samsung 990 SSD, EVGA 1000P2 PSU, 12.9" iPad Pro Thrustmaster TCA Boeing Yoke, TCA Airbus Sidestick, Twin TCA Airbus Throttle quads, PFC Cirrus Pedals, Coolermaster HAF932 case Sys2 (P3Dv5/v4): i9-13900KS, water 2x360mm, ASUS Z790 Hero, 32GB GSkill 7800MHz CAS36, ASUS RTX4090 Samsung 55" JS8500 4K TV@60Hz, 3x 2TB WD SN850X 1x 4TB Crucial P3 M.2 NVME SSD, EVGA 1600T2 PSU Fiber link to Yamaha RX-V467 Home Theater Receiver, Polk/Klipsch 6" bookshelf speakers, Polk 12" subwoofer, 12.9" iPad Pro PFC yoke/throttle quad/pedals with custom Hall sensor retrofit, Thermaltake View 71 case, Stream Deck XL button box Sys3 (DCS/P3Dv4/ATS/ETS): AMD 7800X3D, MSI MPG X870E Carbon, Noctua NH-D15S, 64GB GSkill 6000/30, EVGA RTX3090 Alienware AW3420DW 34" 21:9 GSync, Corsair HX1000i PSU, 4TB Crucial T705 PCIe5 + 2TB Samsung 970Evo Plus, TM TCA Officer Pack, Saitek combat pedals, TM Warthog, TM RS300 FF wheel/pedals, Coolermaster HAF XB case
March 4, 201214 yr Commercial Member Bob,Very candidly, we're not opening up the FMC for development at this time. It's a huge can of worms to do that both from the technical and business perspectives. You can press the CDU buttons with the SDK, but getting inside the code and reading/writing things - just way too much potential for things to go wrong there. It's easily the most complicated and fragile part of any product we make. Sorry. We don't want to be dealing with CTDs and stuff at support where we have no idea what's causing it but it's actually some third party addon messing with the FMC.I will ask on the cabin pressure thing. Ryan MaziarzFor fastest support, please submit a ticket at http://support.precisionmanuals.com
March 4, 201214 yr Its a shame that the calculated Vref speeds could not be read directly from the FMC and that the SDK is not a .net dll.Will have to learn simconnect now! Edited March 4, 201214 yr by graham3278
March 4, 201214 yr Does that mean no possibility to add MCDU/FANS modules? Too bad, I was hoping for integration with ACARS systems... :( --Peter Fabian
March 4, 201214 yr Commercial Member Its a shame that the calculated Vref speeds could not be read directly from the FMC and that the SDK is not a .net dll.Will have to learn simconnect now!The takeoff speeds are there, as well as the Landing VREF:unsigned char FMC_LandingVREF; // knots, 0 if not setNot being a .dll is no prob. Now you've got an excuse to learn Simconnect.Cheers, B. York FS2Crew Web Site / FS2Crew Facebook Page / FS2Crew Discord
March 4, 201214 yr The takeoff speeds are there, as well as the Landing VREF:unsigned char FMC_LandingVREF; // knots, 0 if not setNot being a .dll is no prob. Now you've got an excuse to learn Simconnect.Cheers,Cool, hadn't looked inside the header file....just based my assumption on Ryans post above.Will finish off my other projects first before I start playing with Simconnect!
March 4, 201214 yr Does that mean no possibility to add MCDU/FANS modules?Too bad, I was hoping for integration with ACARS systems... :(As was I ):
March 4, 201214 yr Author Bob,Very candidly, we're not opening up the FMC for development at this time. It's a huge can of worms to do that both from the technical and business perspectives. You can press the CDU buttons with the SDK, but getting inside the code and reading/writing things - just way too much potential for things to go wrong there. It's easily the most complicated and fragile part of any product we make. Sorry. We don't want to be dealing with CTDs and stuff at support where we have no idea what's causing it but it's actually some third party addon messing with the FMC.I will ask on the cabin pressure thing.Ryan...OK, but maybe you misunderstand what I'm trying to do. I don't want to get inside the FMC logic...the idea is to send the keystrokes from the touchscreen using the already-provided interface, and additionally to display whatever the NG's FMC is displaying remotely. All that's needed is a way to read (and only read) the 7 lines of text displayed by each of the NG's FMCs. Bob Scott | President and CEO, AVSIM Inc ATP Gulfstream II-III-IV-V Sys1 (MSFS20+24/XPlane12+11): AMD 9800X3D, water 2x240mm, MSI MPG X670E Carbon, 64GB GSkill 6000/30, nVidia RTX4090FE Alienware AW3821DW 38" 21:9 GSync, 2x4TB Crucial T705 PCIe5 + 2x2TB Samsung 990 SSD, EVGA 1000P2 PSU, 12.9" iPad Pro Thrustmaster TCA Boeing Yoke, TCA Airbus Sidestick, Twin TCA Airbus Throttle quads, PFC Cirrus Pedals, Coolermaster HAF932 case Sys2 (P3Dv5/v4): i9-13900KS, water 2x360mm, ASUS Z790 Hero, 32GB GSkill 7800MHz CAS36, ASUS RTX4090 Samsung 55" JS8500 4K TV@60Hz, 3x 2TB WD SN850X 1x 4TB Crucial P3 M.2 NVME SSD, EVGA 1600T2 PSU Fiber link to Yamaha RX-V467 Home Theater Receiver, Polk/Klipsch 6" bookshelf speakers, Polk 12" subwoofer, 12.9" iPad Pro PFC yoke/throttle quad/pedals with custom Hall sensor retrofit, Thermaltake View 71 case, Stream Deck XL button box Sys3 (DCS/P3Dv4/ATS/ETS): AMD 7800X3D, MSI MPG X870E Carbon, Noctua NH-D15S, 64GB GSkill 6000/30, EVGA RTX3090 Alienware AW3420DW 34" 21:9 GSync, Corsair HX1000i PSU, 4TB Crucial T705 PCIe5 + 2TB Samsung 970Evo Plus, TM TCA Officer Pack, Saitek combat pedals, TM Warthog, TM RS300 FF wheel/pedals, Coolermaster HAF XB case
March 4, 201214 yr Keystrokes are provided for both L and R CDUs. I don't know about reading text... --Peter Fabian
July 16, 201312 yr Ryan...OK, but maybe you misunderstand what I'm trying to do. I don't want to get inside the FMC logic...the idea is to send the keystrokes from the touchscreen using the already-provided interface, and additionally to display whatever the NG's FMC is displaying remotely. All that's needed is a way to read (and only read) the 7 lines of text displayed by each of the NG's FMCs. hi. I am now so confused about how to read the text on CDU` screen. I know a APP named Virtual CDU for iOS and Android can read text information from PMDG737NGX.(http://www.virtualavionics.com.br/).Do you have some idel to read each char from CDU now? Thx Wangyw
July 16, 201312 yr Are you sure they are not intercepting the actual screen gauge image? When I was working on an IDU, that had to display text in manner not dissimilar to the CDU, I found I need to do it by rendering text on a bitmap. Perhaps the virtualavionics guys figured out how to intercept that bitmap. --Peter Fabian
April 3, 201412 yr After 4 days of exploring memory locations and debuging FSX, I managed to pick up CDU text lines for both captain and f/o... I used the same principle as VirtualAvionics guys...reading directly from FSX/PMDG process memory...and IT WORKS I'll try to document this method in next few days and publish it online...since I'm a bit ###### :mad: when someone keeps this kind of stuff for themselves...simply, I'm not that kind of guy Stay tuned... regards, Marko
September 15, 201411 yr Hi Marko! Great to hear that you could succeed reading the CDU lines from the NGX! Would it be possible for you to post your solution here? I have also built a small homecockpit around the NGX, and I am using SimConnect to access the variables. Everything works pretty well so far. However, I have not yet found a way to read the CDU lines... Best regards, Joe
Create an account or sign in to comment