LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Using XY-Plot to plot Earth longitude and latitude

Solved!
Go to solution

Hello everyone, I am new to LabVIEW and I am trying to use XY-Plot to graph Earth longitude and latitude (like the image below):

Screenshot 2023-10-13 at 00.26.02.png

However, my code did not work well, nothing appeared except the scaling of x and y axis changed. I cannot see any problem here, could someone help me point out what I did wrong? 

Screenshot 2023-10-13 at 00.30.12.png

Thank you very much!

0 Kudos
Message 1 of 4
(934 Views)
Solution
Accepted by topic author minhhoang_65

Hi minh,

 


@minhhoang_65 wrote:

I cannot see any problem here, could someone help me point out what I did wrong? 


You did not attach your VI, but just an image of the block diagram…

You use an ExpressVI just to create a plot.

You use matrix functions when they aren't needed.

You do stuff in a loop theat belongs outside the loop.

 

Example:

Best regards,
GerdW


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

And if you don't like loops and the colors blue & pink, here's an alternative 😄

 

altenbach_0-1697217728505.png

 

Message 3 of 4
(865 Views)

Thank you so much! Got it now!

0 Kudos
Message 4 of 4
(841 Views)