Jump to content
The simFlight Network Forums

Recommended Posts

Posted

Hello,

I'am working on a VB pogram to monitor 7 segment displays on my radiostack. There for I need to read out the DME. I get a value of 5 numbers when I use offset 0C29 (for DME1). Can You tell me how to recalculate these 5 numbers to get the distance in nm? :?:

Regards,

:wink:

Posted

I get a value of 5 numbers when I use offset 0C29 (for DME1). Can You tell me how to recalculate these 5 numbers to get the distance in nm?

As clearly documented (!), they are not "5 numbers" but an ASCII character string, ready for display. e.g "18.9" for 18.9 nm. If you want them in binary you'll need to convert them from character form to binary using something like sscanf or whatever the equivalent is in the language you are using.

Regards,

Pete

Please sign in to comment

You will be able to leave a comment after signing in



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.