12-01-2016 10:00 AM
Hello,
how i can build a simulation of radar but only to the XY Graph?
What i put in the X and the Y axis?
https://s12.postimg.org/iwsoyaldp/XY_graph.png
https://s13.postimg.org/sntnie0uf/image.png
Solved! Go to Solution.
12-01-2016 10:06 AM
What exactly do you mean by simulation of a radar?
Attach a picture of something that looks like what you want. (We already know what the current LV graph and the express VI look like.)
12-01-2016 10:14 AM
Hi 🙂
i want that the line in the attached picture will rotates counterclockwise.
12-01-2016 10:18 AM
An xy graph just displays the data. The "simulation" (whatever that means) needs some code implementing the model.
Showing us pictures of an express graph does not narrow down the ambiguity and they are not needed to explain what you are trying to do.
A real radar simulation might need an intensity graph, showing the radar echo intensity as a function of direction and distance. You could simulate a 2D world with some objects and given radar reflectivity, the canculate the profile for each direction.
12-01-2016 10:21 AM
Aviran wrote:i want that the line in the attached picture will rotates counterclockwise.
Use a complex array with two points, one at 0,0 and the second one in sherical coordinates where you keep R=1 and increment theta linearly (wrap at 360 degrees). Ise an appropriate delay.
What is your LabVIEW version?
12-01-2016 10:21 AM
Then you just need to include a plot that consists of 2 X,Y points. The point 0,0, and a point that is at the border of the graph and is a function of the rotation angle.
You can't use it in conjunction with the Build XY Graph express VI because that creates a history and you'll see multiple lines. You would add the line to the array of series write before you put it in the graph.
12-01-2016 10:30 AM - edited 12-01-2016 10:47 AM
@RavensFan wrote:
You can't use it in conjunction with the Build XY Graph express VI because that creates a history and you'll see multiple lines.
The history can be turned off, but the express VI is still overkill. Here's what I had in mind earlier, modify as needed.
It is NOT a "radar simulation" (as I defined earlier), but just a rotating line. 😄
(note that you can leave out the IQ&R. I placed it there so you could display the wrapped angle if desired)
12-01-2016 10:41 AM
Simulating the CRT with a intensity graph: Green to black intensity , log scale (?)
Plot one beam , decrement the hole graph buffer .
Beam is just visible , 'echo' a quite high value ...
Beam to xy ... maybe use the picuture control vi's instead??
just the green channel
decrement a ratio ...
no time to play 😞
12-01-2016 11:16 AM - edited 12-01-2016 11:18 AM
couldn't resist...
still room for improvement 😄
12-01-2016 11:42 AM
Placing a transparent decoration over the plot stops the flickering.