annulla
Visualizzazione dei risultati per 
Cerca invece 
Intendevi dire: 

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
Messaggio 1 di 10
5.949Visualizzazioni

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
Messaggio 2 di 10
5.919Visualizzazioni

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
Messaggio 3 di 10
5.894Visualizzazioni

Someone?

0 Kudos
Messaggio 4 di 10
5.878Visualizzazioni

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
Messaggio 5 di 10
5.870Visualizzazioni

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

========================
=== Engineer Ambiguously ===
========================
0 Kudos
Messaggio 6 di 10
5.865Visualizzazioni

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
Messaggio 7 di 10
5.842Visualizzazioni

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
Messaggio 8 di 10
5.829Visualizzazioni

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
Messaggio 9 di 10
5.814Visualizzazioni

This topic of conversation has moved to a new thread.

 

Question about Array

0 Kudos
Messaggio 10 di 10
5.795Visualizzazioni