LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

calculating mean value of sorted data and drawing polar plot

Solved!
Go to solution

Hi,

 

I managed to create that index buffer. My new VI has been in use for over a week, and it works wonderfull.

 

Only thing what I've been unable to solve is how to turn face plate of polar plot. It's not neccessary, but would be just a nice addon detail.

 

What I've been trying to do is:

- turn North up (now on right, where east shoud be). I managed to change numbers, but that doesn't affet where drawing start.

- degress growing clockwice (now growing counterclockwice). Have no clue how this could be done.

0 Kudos
Message 11 of 17
(1,079 Views)

Hi MrHUU,

 

"- turn North up"

That's a phase shift of PI/2...

 

"- degress growing clockwice"

Negating the degrees to turn the direction?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 12 of 17
(1,077 Views)

Thanks for fast answer.

 

compass_mirror.jpg

this is how my polar plot is drawed at the moment. North on right, and degrees going counter clockwice.

 

compass_nortup.jpg

this is how i would like my polar plot to "looklike". So, Noth up and degrees going clockwice.

 

 

I could try that pahse shift trick, but would it change front plate numbers aswell, or do I have to change those 4 values inside polar plot vi, like I have tried to to earlier.

 

Download All
0 Kudos
Message 13 of 17
(1,070 Views)

Hi MrHUU,

 

right now you have N=0°, E=90°, S=180°, W=270°

You need: N=90°, E=0°, S=270°, W=180°.

 

So you need to calc: degree_new = 90 - degree_old to get the correct "phase".

 

Do you plot just points/lines or present "real" values (as numbers) on your compass?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 14 of 17
(1,061 Views)

Thanks for the tip. It did work 🙂

 

I'm drawing points connected with lines. I changed numbers to letters N, E, S, W, this is enough close for me.

 

 

0 Kudos
Message 15 of 17
(1,046 Views)

Please can you email me your vi to tawandamukanhairi@gmail.com , i am trying to do something like this

0 Kudos
Message 16 of 17
(863 Views)

MrHUU has not logged into the Forums since 2010. You should probably try to work with the VIs and the recommendations which have been posted here.  If that does not get it working for you, start a new thread and post what you have tried. Also indicate any problems and exactly what you want to do.

 

Lynn

0 Kudos
Message 17 of 17
(859 Views)