LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Polarization Ellipse in LabVIEW

Block Diagram(14-7-2011).png

 

Front Panel(14-7-2011).png

 

 

Greetings, I'm a student, doing my final year project and I've encountered problems with the tasks I'm approaching now.

 

I would really appreciate any tips or advice that's been given/replied to me.

 

I'm currently working on optics and I'm required to acquire data measured by power from the laser I'm given.

 

The images above, are for references.

 

I know I'm supposed to submit my VI, but I would much rather, accept tips/advice, instead of answers.

 

Right now, I'm tasked to produce a polarization ellipse for my VI.

 

Something like this below.

 

PE.png

 

However, I've no idea how do I come up with such a graph for my VI, on LabVIEW?

 

Your tips/advice is very much welcomed.

0 Kudos
Message 1 of 6
(3,911 Views)

Your sinusoidal data is currently plotted on cartesian coordinates i.e. a normal x,y graph.

What you are trying to achieve is a polar plot.

 

Convert your cartesian coordinates (T, angle) into polar coordinates so it is in an r,theta format. You can do this using the 'complex' section of the numeric palette or by just doing a little manual trigonometry. Then feed this data into a polar plot (found under classic controls, classic graph, controls)

 

The polar plots are a little different to normal xy graphs when coding. Have a look through the help file and examples.


Enjoy!

Ian

0 Kudos
Message 2 of 6
(3,896 Views)

Thinking about it... there is not even any need to convert from cartesian to polar... your data looks like it is already in the form of magnitude and angle so you can probably just feed it straight into a polar graph.

 

Ian

0 Kudos
Message 3 of 6
(3,884 Views)

Sorry, I don't quite understand what you're saying.

 

Now, my supervisor explained to me that only ONE ellipse should appear when the XY graph is plotted after one revolution (that is 360 degrees)

 

OR

 

We can try to plot out the ellipse at every degree, then we have a FULL ellipse at the end of the revolution.

 

How can I achieve this ?

 

Please advice.

 

Thanks.

0 Kudos
Message 4 of 6
(3,858 Views)

Do you have any example data that you can post?

0 Kudos
Message 5 of 6
(3,852 Views)

                                                   Block Diagram(25-7-11).png

 

 

 

 

30 degrees.png        120 degrees.png

 

 

 

 

 

This is what I would get from the VI whenever I run it. But this is not what I want because as you can see , there is an rotating ellipse in the 2nd xy graph. What I want would be to either get one non-rotary ellipse on the 2nd xy graph after the VI has finished running or plotting out the eliipse on the 2nd xy graph at from 0-360 degrees and thus getting a FULL ellipse.

 

 

Please advice me on how to achieve what I want.

 

Thanks.

 

 

 

0 Kudos
Message 6 of 6
(3,835 Views)