Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

_andreas_

Members
  • Joined

  • Last visited

  1. Same issue here using a 3 monitor setup with prepar3d v2. It's an old FSX bug that I hope LM will fix. I haven't yet reported the issue to them though, but we should.
  2. Hello people! As previously discussed in http://forum.avsim.net/topic/403290-reading-door-annunciators-via-sdk/ there are a few things that are missing in the SDK (SP1C). I managed to work around most of them using ugly LUA hacks. Since then I've stumbled across a bunch of new issues in the SDK. Some of them are just related to inconsistencies in how switches and knobs work, for example some momentary-on switches will return automatically while others will not, so you have to do that manually by sending multiple events. Also, FSX will crash because of an error in PMDG_737NGX.DLL when sending events while a flight is loading. This is easily fixed by check the sim status. Although such things does give a bit of impression that the SDK haven't been thorougly tested, it's no big deal once you've located and fixed these issues. A bigger issue is the annunciators. I would have thought that "what you see in the VC is what you get in the SDK data struct", i.e. if the annunciator is lit, the returned value is 1. That does not always seem to be the case. For example when cutting the power completely (no engines, apu, ground power nor battery), the annunciator values in the SDK seem to still be set to what they would display if we have had power. Not impossible to fix but it requires quite a bit of programming logic that I would expect the SDK to take care of for us. One thing I've not managed to work around is the thing that happens when you shutdown the engines. Some annunciators will start to get out of sync in the SDK vs what's displayed in the VC. For example, the f/of pitot, r elev pitot, r alpha vane, aux pitot and equip cooling annunciators will always be set to 1 in the NGX data struct, even though they're really off. Starting up the engines and turning the corresponding switches on/off makes no difference, the reported annunciator values are stuck although the VC shows the correct ones. Only by ending the flight and loading it again will get you back in sync (simply reseting the flight will completely mess upp the SDK but that seems to be an old known bug). Also, the Window overheat test button will activate all four ICE_annunOVERHEAT annunciators in the SDK whereas the VC will only activate number 2 and 4. And so on... basically it makes you not being able trust the annunciators which is not a good thing. Am I the only one with these issues? Andreas
  3. Also the auto fail/off sched descent/altn/manual annunciators. I couldn't find any Lvars for those though, perhaps they aren't implemented at all? What I ended up doing is a small Lua script for FSUIPC that monitors the Lvars for the doors (NGXFwdLeftCabinDoor, NGXAftLeftCabinDoor, NGXOverwingLeftEmerExit and so on...). When a door is opened or closed, I write the annunciator statuses using ipc.writeUD() to a writable offset that originally stores some value that isn't used for the NGX. I can then read and process this value using simconnect from my main program just as I already read other values. Not very pretty but it works.
  4. I've located the LVARs for the annunciators I'm looking for so I can now successfully get the missing data. I guess that's how FS2Crew does it as well. I was kind of expecting to be able to access this data directly via the SDK so it's definitely on my wish list for a future update.
  5. Thanks for your input, I appreciate it. I can probably work around this issue somehow but I thought that the point of having an SDK was to enable easy access to this data rather than having to find various workarounds. So far I've found a total of 16 overhead annunciators that are nowhere to be found as SDK variables (nor as standard SimConnect variables). This seems like too big of a number to be just a small oversight in the SDK so I'm wondering if I'm missing something obvious here. I also wonder if I'm going to get similar surprises when I start to implement all the buttons and switches... /Andreas
  6. Hello! I'm writing software for my simulator using the 737NGX SDK and everything works well so far, but I just got stuck when trying to read the overhead door annunciator statuses. Unlike all other annunciators so far, I simply can not find them in the SDK. The events for the doors are listed under "Custom shortcut special events" (e.g. EVT_DOOR_CARGO_FWD, EVT_DOOR_EQUIPMENT_HATCH, EVT_DOOR_AIRSTAIR and so on), but I'm unable to locate their values anywhere in the PMDG_NGX_Data struct. Any clues? /Andreas
  7. Do you know if it's just the EXEC button that doesn't light up when it should? If it's not just that button, the data broadcasting from the NGX is likely not enabled. In that case, edit the file <FSXROOT>\PMDG\PMDG 737 NGX\737NGX_Options.ini and add the following two lines at the bottom: [sDK] EnableDataBroadcast=1
  8. You're in luck because PMDG actually do provide exactly that feature :biggrin: The trick is to define a new 2d panel in panel.cfg and specify the gauge CDU_Screen (rather than the default "CDU" , which contains both the display and the buttons). It would be something like this: [Window02] background_color=0,0,0 size_mm=385,600 window_size=0.13,0.535 position=8 visible=1 ident=958 zorder=99 gauge00=PMDG_737NGX!CDU_Screen,0,0,390,625,L #0 You can then use shift+2 to toggle this window. You may need to adjust the size (390,625 in the example) to fit your setup.
  9. Fullscreen or window mode doesn't matter. I use Nvidia surround mode for the main display and the CDU is connected to a cheap video card. It works great, no FPS impact. More about the panel setup here: http://forum.avsim.net/topic/380505-hardware-cdu-compatible-with-the-ngx-tips-wanted/page__st__25#entry2441447
  10. For the OpenCockpits FMC and the NGX, there is also my driver that is currently in beta testing, see the last few posts in http://forum.avsim.net/topic/380505-hardware-cdu-compatible-with-the-ngx-tips-wanted/ for more information. It's completely standalone and it does not require any configuration and it does not require SIOC. I'll be happy to provide it to anyone who wants to beta test it.
  11. For what it's worth, when the new version of the NGX SDK is out so that one can read out the CDU text, I will update my driver for the OpenCockpits FMCv3 so that it can be completely networked on another computer (USB and VGA). This may help if you can't connect another display to your main FSX machine for whatever reason.
  12. The nice people at OpenCockpits were positive about the driver. As it has currently only been tested by two people I would like some more beta testers. If you have FSX SP2 or acceleration, the NGX SP1C, and the new FMC, and you want to help out trying the driver, please contact me by sending a PM.
  13. I have a similar setup (Nvidia Surround) and I connect the CDU monitor to a cheap auxiliary graphics card. This works well granted that you have a slot left on your motherboard. I'm still waiting for the NGX SDK to be extended so that the currently displayed CDU data can be read. According to Ryan in http://forum.avsim.n...__hl__engravity this will be in the next release of the SDK, although this was last mentioned several months ago. This would make it possible to write a working dirver for the Engravity CDU and it would also be pretty simple to write a driver for e.g. the OpenCockpits CDU (or iPad/whatever) so that it could be completely networked on any other computer. I guess we'll have to wait and see.
  14. I'll take the opportunity to also praise the cpflight hardware, I have the USB model of the EFIS and MCP and they are really great. I had a few issues with their driver but since cpflight are kind enough to document the communication protocol I wrote my own driver (for the NGX). I don't know if it has changed lately but their driver had to be started manually by fiddling in the FSX menus every flight, which really annoyed me, and it kept getting out of sync with the NGX from time to time.
  15. I'm happy to say that my driver is now fully working. Basically it's a tiny program that talks to the OpenCockpits FMC v2 via USB directly on one side and the NGX on the other side. It's completely standalone and does not require SIOC or anything like that at all. It has a minimal CPU and memory footprint and does not require any configuration. It requires some more testing and I'll ask the OpenCockpits people if they have any issues with me publishing it.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.