LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to filter only one string from GPS

Solved!
Go to solution

@Mj664 wrote:

Hello,

 

Thanks for the quick response.

 

The longitudes and latitudes are being read multiplied by 100.

 

I divided them back to normal digits and the location was 20 kilometers off. 

 

I've tested this in multiple locations. it was working previously. 


Your data is NOT being multiplied by 100. If I remember right, the GGA message for Lat/Long is in the format of degrees/minutes. So...

5132.2692,N   is actually =   51 deg 32.2692' N

or

51 + (32.2692/60) = 51.53782 degrees

 

How you previously got it to work is a mystery to me.

0 Kudos
Message 11 of 16
(558 Views)

I understand how it works but previously the string was reading xx.xxxx.xx now it reads xxxx.xxxx

 

for no apparent reason.

 

0 Kudos
Message 12 of 16
(541 Views)

And you are sure that the string has changed? 

 

The GPS is sending NMEA2000 strings out, and that is a fixed protocol. 

0 Kudos
Message 14 of 16
(534 Views)

looking at the ni example this is what it should look like. 

https://www.youtube.com/watch?v=SebcpkbYBd4&t=6s

 

0 Kudos
Message 15 of 16
(524 Views)

Yes and ?? 

Do you have any problems? 

0 Kudos
Message 16 of 16
(518 Views)