02-03-2012 01:15 PM
Hello,
I need to convert a RS232 string to decode a GPS position according to LIP/ETSI format;
The Longtitude is 25 bits and latitude is 24 bits
I have problems splitting up the string and converting the latitude and longtitude;
The Hex string looks like this;0A00311D4A4DBAF900A810
as attachment the protocol description
Can anybody help>?
Regards,Philip
02-03-2012 04:16 PM
It looks like you have a well-documented protocol. What is it that you need help doing?
Mike...
02-04-2012 07:39 AM
Hello Mike,
Thanks for the reply, i need help on the latitude and longtitude,i tried different ways to extract the 25 bits and convert it to a number but get a strange value.
I also do not know how to calculate the value with the 360 2 25 method.
I am a electronics engineer with little knowledge about Labview and programming ,i got the RS232 working to send and receive commands but got stuck on this part.
Regards,
Philip
02-21-2012 11:22 AM
Hi Philip,
In fact, the document you have regarding LIP string is probably more useful than ETSI standard document (the one I have).
Can you show us the decimal numbers for LON / LAT?
Maybe it´s just a problem of conversion to the appropriate scale.
Regards
Luis
07-07-2014 12:31 AM
Looks like this message was abandoned before a solution was found and unfortunately, I need the same thing done.
I have received the following data that is to be decoded using ETSI/LIP and don't know how to do it. I too am receiving hex data that I want to convert to decimal.
I've converted the
LONG:0110011100110110010011000 or in hex: 67 36 4C 00 (25 bits)
LAT:110010100001100101011001 or in hex: CA 19 59 (24 bits)
The above converts into this somehow (Taken from a logging program);
0110011100110110010011000 Longitude = 0x0CE6C98 (145.142012)
110010100001100101011001 Latitude = 0xCA1959 (-37.899131)
Does anyone have any idea how I go about converting the binary/hex to decimal using ETSI LIP?
07-07-2014 09:27 AM
This is a 2-year old thread, you should repost a new question referenceing tis thread.
Mike...
07-07-2014 06:34 PM
Thanks - I have done this.