Showing results for 
Search instead for 
Did you mean: 

How to filter only one string from GPS

Go to solution

@Mj664 wrote:



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


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

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

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

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


0 Kudos
Message 15 of 16

Yes and ?? 

Do you have any problems? 

0 Kudos
Message 16 of 16