Jump to content
The simFlight Network Forums

Recommended Posts

Posted

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

Posted
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

Posted
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

 

Posted

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

 

Posted

Hello, It was my mistake as was reading as a float instead of int32, sorry. so  i can confirm they all of them work properly, you can take the ? out of the list 🙂

 

Thanks and regards

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.