LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

polar plot help

I'm working a project where I need to plot X & Y data to a polar plot. Actually, what I really want is to plot X-Y data on a compass rose, and show 'clock" position instead of angle headings...but I can fake that well enough for now...

 

Attached is my test vi for plotting to the polar plot. I've repalced the standard LV polar plot with a version available in one of the support forums that plots points instead of lines. Looks right to me..but no data plotted  😞 Any hints or direction?

 

Also, I ideally want to keep continually plotting data points - one set of coordinates after another. Any thoughts on the best way to do that? While loop maybe? I used to use labview prtty regularly, but it's been a while, so forgive me if these are easy questions. 🙂

 

 

Thanks!

 

0 Kudos
Message 1 of 8
(3,630 Views)

Have you checked out the 2D compass plot?  Would it work for you?  It's at Controls-Modern-Graph-Compass Plot.

0 Kudos
Message 2 of 8
(3,623 Views)

And yes, a while loop is a good place to start.  Add a "Wait Until Next ms Multiple" inside the loop and wire 100 to the input.  This will make the loop run oand the plot update only every 100 msec, usually sufficient for a user interface update.  The Wait Until... vi is on the Functions pallet, under Programming-Timing.

0 Kudos
Message 3 of 8
(3,621 Views)

Wow..I think they may be exactly what I want...but my office is stuck back at LV 7.1, and I can't seem to find that function for this version. Bummer.

 

I'll keep looking though. Thanks for the tips!

0 Kudos
Message 4 of 8
(3,615 Views)

Updated vi attached for my polar plot test.I've replaced the modified "polar plot" vi with the original labview one. I can see data passing through everywhere, right to the plot itself...just don't see anything showing up. Is there something I'm misunderstanding about how to use the polar plot?

0 Kudos
Message 5 of 8
(3,590 Views)

See if you can get Santa to bring your office LV 2011.  Lots and lots of enhancements that are very helpful.  And no, I'm not paid to say that! 😉

0 Kudos
Message 6 of 8
(3,586 Views)

I'll send out an addendum to my Christmas List right away.

0 Kudos
Message 7 of 8
(3,584 Views)

Hey IceMan,

 

It looks like you are passing only one set of values to the plot and the plot requires multiple points in order to graph the line between them. Here is the link to the information about the polar plot:

 

http://zone.ni.com/reference/en-XX/help/371361E-01/lvpict/polar_plot/

 

Hope This Helps,

 

Doug B

Applications Engineer
National Instruments
0 Kudos
Message 8 of 8
(3,545 Views)