Verley Posted January 23, 2005 Report Posted January 23, 2005 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:
Pete Dowson Posted January 23, 2005 Report Posted January 23, 2005 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
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