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.

Override CDI

Featured Replies

Gents,

 

       Does anyone know how to override the FSX CDI and Obs Variables like the RealityXP GPS' do, all I want to do is inject my own deflection and course variables so any plane can utilize my FMS as opposed to creating my own HSI.

 

Thanks

 

-Matthew Chase

HC-130H Pilot, CGAS Barbers Point

  • Author

Ed,

 

  Thanks for the response, I have built a .dll for my data but I'm not really sure what hacking to find the offset entails although I am guessing this is the same thing FSUIPC does. Thanks for your help.

 

-Matt

  • Commercial Member

FSUIPC states that the value can not be overridden.. for what it's worth.

 

That means that Rxp is probably running a pretty heavy hack to get around any "protection" that FSX has for that variable.

Ed Wilson

Mindstar Aviation
My Playland - I69

Many FSX variables are read only because they are determined by the geometry/physics at the time. For example, the underlying bearing from a VOR variable depends on the relative positions of the aircraft and navaid.

Gerry Howard

  • Moderator

David Drouin's UNS-1Fw FMS writes a custom variable published globally as (L:UNS CDI NEEDLE,number) that may be used instead of the default (A:HSI CDI NEEDLE,number) in the HSI. The HSI CDI NEEDLE variable will switch between NAV1 and GPS as a source depending on the GPS DRIVES NAV1 variable.

 

In his control code, he can set the value of his (L:UNS CDI NEEDLE,number) variable to use either the NAV1 signal source, the GPS signal source or his UNS signal source.

 

In pseudo-code:

 

if (source) = 0 and (A:GPS DRIVES NAV1,bool) = 0, then (A:HSI CDI NEEDLE,number) (>L:UNS CDI NEEDLE,number)

 

if (source) = 1 and (A:GPS DRIVES NAV1,bool) = 1, then (A:HSI CDI NEEDLE,number) (>L:UNS CDI NEEDLE,number)

 

if (source) = 2, then (myFMSdeviation) (>L:UNS CDI NEEDLE,number)

Fr. Bill    

AOPA Member: 07141481 AARP Member: 3209010556


     Avsim Board of Directors | Avsim Forums Moderator
  • Author

Thanks for all the help guys, I've already built a .dll (after much struggle since I'm going through my C-130 type rating right now) that I can send variables to XML gauges so I'll just write my own custom HSI I was just hoping for a more elegant solution so I could distribute my FMS (runs on tablets) so everyone could utilize it. Pretty proud of it so far it's my first step in to design and it has a fully updating navdata and is pretty versatile. Basically I calculate the cross track error course and distance on the app then feed it to my dll so it can be used in the simulator.

 

-Matt

Create an account or sign in to comment

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.