cancelar
Mostrando los resultados de 
Buscar en lugar de 
Quiere decir: 

XY graph multiple plot

¡Resuelto!
Ir a solución

I’m a RC model pilot. In my plane I mounted a GPS (and more).

All this data logged in a file.

I Want to display the GPS data in a XY graph, as background a copy from google maps.

Tis works, but I want more: I want to have a tail (let say 6 points) on the XY plot.

This to analyze better what the plane has done.

I tried this, but it’s not working!

This is only a part of the program, I hope it shows wat I want

0 kudos
Mensaje 1 de 5
1.864 Vistas

You didn't show anything.

 

You'd make an array, add points to it, limit it to n points. Keep the array in a shift register.

0 kudos
Mensaje 2 de 5
1.845 Vistas

I did but it dont work

0 kudos
Mensaje 3 de 5
1.810 Vistas

use this to test

0 kudos
Mensaje 4 de 5
1.807 Vistas
Solución
Aceptado por Wim-S

You have a few problems here...

 

Duplicate code, obviously... "te lang of gelijk? dan inkorten van onder" would fit in a sub VI. If you make it reentrant, it could even keep the history in it's state (uninitialized shift register), although I wouldn't prefer that (I'd prefer keeping state in a class's private data).

 

But you've put the image in the front image of the XY Graph, so you'll never see anything as the image covers it. Use the back image.

 

Also, the scales of the XY graph are not scaled. The X Scale is set to 5..5, the y scale to 51.4006..51.4095. So the points won't show.

 

Hopelijk help het iets...

0 kudos
Mensaje 5 de 5
1.788 Vistas