LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to make a radar simulation on XY Graph?

Can you please tell us how to create a radar (the indicator of a circular view) using XY Graph? Not using 2d pictures, namely  xy graph.
Very necessary
0 Kudos
Message 1 of 8
(4,240 Views)

As you have already discovered, LabVIEW does not have a polar coordinate plot type, except for the Compass Plot, which might do what you want, but seems a bit limited to me.  Of course, you can always plot a line in polar coordinates, (r(i), theta(i)), where theta remains fixed (at the angle of the radar at that instant in time) and the radius, r(i), goes from 0 to whatever R value you want, over however many incremental distances you want (you are basically plotting a line by plotting a lot of dots close together).

 

It just occurred to me that you can also get LabVIEW to do some of the work for you.  If you plot (0, 0), then (r, theta), the end-points of the line you wish to plot, LabVIEW will plot that line for you (you might have to do some transposition, depending on how you arrange your points).  Give it a try and see if it works for you.  Note that if you want a "persistent-but-vanishing" sweep indicator, this is going to involve a lot of work, as you'll have to basically make a "picture" that changes at some update rate, I'd say at least 10 times a second to be "convincing".  Might be worth thinking of developing the "Radar Plot" some other way ...

 

Bob Schor

0 Kudos
Message 2 of 8
(4,197 Views)
  1. Please do not use code tags when composing plain text
  2. If you steal an image from elsewhere, you need to give a link to where you got it from.

Now go back to that thread and look at some of the earlier messages. Some use xy graphs and should give you plenty of ideas. Good luck!

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

See this thread: http://forums.ni.com/t5/LabVIEW/Question-How-to-make-a-radar-simulation-on-XY-Graph/m-p/3549687

========================
=== Engineer Ambiguously ===
========================
0 Kudos
Message 4 of 8
(4,126 Views)

Please tell me how to draw circles and lines in Intensity Graph ? 

To get the image as in the photo.

0 Kudos
Message 5 of 8
(4,146 Views)

Hi wio,

 

the intensity graph supports plot images (atleast the front image) via property nodes!

So the solution is to draw an image for a 2D picture indicator and use that image as front image of your IntensityGraph!

 

Other options:

- place the intensity graph over a 2DPictureIndicator and make it transparent…

- place a static image (with transparent background) over your intensity graph…

Best regards,
GerdW


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

Please tell me how to draw circles and lines in Intensity Graph ? 

To get the image as in the photo.

0 Kudos
Message 7 of 8
(4,073 Views)

Hi wio,

 

use the background image property of the IntensityGraph to display your image in the background.

You can create this image using 2DPicture functions…

 

Edit after merging your threads:

What's the point in asking the same question again after 3 weeks? Why start a new thread?

Best regards,
GerdW


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