Jump to content
The simFlight Network Forums

NDB coordinates


Recommended Posts

Hello, I run FSUIPC 6.1.5 with P3D V5.

I tried to read the NDB coordinates from offsets 1124,1130,1128,1134,112C and 1138 but all of them return 0. I tried to read em via Lua as signed 32 bit integers like VOR or DME. These just always return 0 to me. I saw were marked ?-simC so I tought to report it.

 

Regards

Link to comment
Share on other sites

10 hours ago, Edoradar said:

I tried to read the NDB coordinates from offsets 1124,1130,1128,1134,112C and 1138 but all of them return 0. I tried to read em via Lua as signed 32 bit integers like VOR or DME. These just always return 0 to me. I saw were marked ?-simC so I tought to report it.

Presumably your ADF was tuned in to an NDB, no? They will be 0 if/when not tuned in.
Which aircraft were you using - a stock one or an add-on?
It surprises me that these are not available. I will take a look.
Thanks for reporting,

John

Link to comment
Share on other sites

10 hours ago, Edoradar said:

I tried to read the NDB coordinates from offsets 1124,1130,1128,1134,112C and 1138 but all of them return 0. I tried to read em via Lua as signed 32 bit integers like VOR or DME. These just always return 0 to me. I saw were marked ?-simC so I tought to report it.

I'm pretty sure they work ok -- but only when an NDB signal is being received by one of your ADF receivers of course.

Please use the Monitor option in FSUIPC Logging tab to see what is actually provided. I suspect that to get zero you are doing the division before the multiplication.  Check your calculations please.

Pete

 

Link to comment
Share on other sites

Looks ok to me - this is what I see when I monitor sitting at EGLL, tuned-in to 348 (FAIROAKS NDB):

Quote

   500078 Monitor IPC:1124 (S32) = 5706214
   500078 Monitor IPC:1128 (S32) = -6725631
   500078 SimRead: 1124="ADF LATLONALT:1" [also 1128] [also 112C]
            FLT64 Lat=51.34693902, Lon=-0.5637359619, Alt=0

 

Link to comment
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
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.