LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

GPS track with Labview

Hi everyone,

 

I would like to draw a track at Labview using latitude and longitude data that i'm receiving from a gps module.

 

I want to plot the graph in a graph. Anyone could help me to do that?

 

Best Regards,

Vitor Crepaldi.

 

 

0 Kudos
Message 1 of 10
(5,420 Views)

Hi Vitor,

 

convert your "latitude and longitude data" to x/y coordinates to display them on a XY graph…

 

What is your exact problem?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 10
(5,390 Views)

I want to draw the track but I don't knw how.  

 

Something like this: https://www.youtube.com/watch?v=5A2R_ryAQPs.

 

I work in a project that we build an off-road car at the university. And we want to know the track that the car is doing. 

 

Could you help me?

 

Regards,

Vitor Crepaldi.

0 Kudos
Message 3 of 10
(5,365 Views)

Someone?

0 Kudos
Message 4 of 10
(5,349 Views)

Why don't you download the code example that is at the link right under the You-Tube video?

 

It's actually pretty good example of parsing NMEA GPS sentences.

 

Most GPS's simply spit out a constant stream of NMEA "sentences"  on a serial port at 9600 baud 8N1 it would be pretty simple to modify the example to use live data to produce a live plot.

========================
=== Engineer Ambiguously ===
========================
0 Kudos
Message 5 of 10
(5,341 Views)

Here is a good link on decoding NMEA GPS sentences http://www.gpsinformation.org/dale/nmea.htm

========================
=== Engineer Ambiguously ===
========================
0 Kudos
Message 6 of 10
(5,336 Views)

There is a way to hold th last received number at the array?

 

I can increment the index of the array, but the last one number turns to zero, but I want that he staus in that position.

I tried to search something like that but i didn't find.

 

I attached a photo abou my code. 

 

Regards,

Vitor.

0 Kudos
Message 7 of 10
(5,313 Views)

I don't understand what you are trying to do and how it pertains to your original question.

 

Try attaching your VI instead of a screen capture so I can suggest changes without having to redraw your block diagram 

========================
=== Engineer Ambiguously ===
========================
0 Kudos
Message 8 of 10
(5,300 Views)

I will receive tha latitude and longitude data by the serial port.

 

If I put each data in a array I will can draw the track. But I need that each data will appear in a different column of the array, but keeping the hystory.

 

In my code, I receive each data, but I only see the new number. The last number turns to zero.

 

I attached my code to you see.

 

Regards.

0 Kudos
Message 9 of 10
(5,285 Views)

This topic of conversation has moved to a new thread.

 

Question about Array

0 Kudos
Message 10 of 10
(5,266 Views)