取消
显示结果 
搜索替代 
您的意思是: 

Question: How to make a radar simulation on XY Graph?

已解决!
转到解答

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

0 项奖励
1 条消息(共 52 条)
10,250 次查看

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.眨眼表情)

0 项奖励
2 条消息(共 52 条)
10,247 次查看

Hi 🙂

i want that the line in the attached picture will rotates counterclockwise.

https://s12.postimg.org/lob0h1uf1/Capture.png

0 项奖励
3 条消息(共 52 条)
10,240 次查看

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.

0 项奖励
4 条消息(共 52 条)
10,233 次查看

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?

0 项奖励
5 条消息(共 52 条)
10,231 次查看

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.

 

0 项奖励
6 条消息(共 52 条)
10,230 次查看
解答
接受人 Aviran

@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)

下载全部
0 项奖励
7 条消息(共 52 条)
10,222 次查看

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 😞

 

Greetings from Germany
Henrik

LV since v3.1

“ground” is a convenient fantasy

'˙˙˙˙uıɐƃɐ lɐıp puɐ °06 ǝuoɥd ɹnoʎ uɹnʇ ǝsɐǝld 'ʎɹɐuıƃɐɯı sı pǝlɐıp ǝʌɐɥ noʎ ɹǝqɯnu ǝɥʇ'


0 项奖励
8 条消息(共 52 条)
10,210 次查看

couldn't resist...    radar.png

 

still room for improvement 😄

 

Greetings from Germany
Henrik

LV since v3.1

“ground” is a convenient fantasy

'˙˙˙˙uıɐƃɐ lɐıp puɐ °06 ǝuoɥd ɹnoʎ uɹnʇ ǝsɐǝld 'ʎɹɐuıƃɐɯı sı pǝlɐıp ǝʌɐɥ noʎ ɹǝqɯnu ǝɥʇ'


9 条消息(共 52 条)
10,187 次查看

Placing a transparent decoration over the plot stops the flickering.

========================
=== Engineer Ambiguously ===
========================
0 项奖励
10 条消息(共 52 条)
10,172 次查看