trevordes Posted January 24, 2004 Report Share Posted January 24, 2004 Pete, I am developing a gauge which I want to read the present position. I can read 8 bytes from offset 0x0560 into a SINT64 variable and process it in accordance with the instructions in the SDK into a FLOAT64 variable and this provides the Latitude fine. However, when I try similar process with 8 bytes from 0x0568 for the longitude the result comes out as 0.nnnnn where .nnnnn * 60 is the correct number of minutes for East Longitude, and 60 - (.nnnnn * 60) is the correct number of minutes for West Longitude, but in all cases the number of degrees is always 0 and the actual answer is always positive. Any suggestions you have would be appreciated. Trevor Link to comment Share on other sites More sharing options...
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
Already have an account? Sign in here.Sign In Now