Edoradar Posted October 18, 2021 Report Posted October 18, 2021 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
John Dowson Posted October 19, 2021 Report Posted October 19, 2021 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
Pete Dowson Posted October 19, 2021 Report Posted October 19, 2021 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
John Dowson Posted October 19, 2021 Report Posted October 19, 2021 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
Edoradar Posted October 20, 2021 Author Report Posted October 20, 2021 Thanks for answers, will check once back on it saturday.
Edoradar Posted October 24, 2021 Author Report Posted October 24, 2021 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
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now