LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Getting the area and circumference of XY graph

Hello

Please I need help as soon as possible with This Labview Code.

This code include drawing manually a circle on the XY graph to calculate the area and the circumference of it !

But  I need an improve of this code to make it more beneficial, I want to find a way so the circle will be drawn automatically when I run the program and choose the the txt file for X & Y in a way to cover like at least 95% of the graph!! 

Thank YOU 

0 Kudos
Message 1 of 11
(4,269 Views)

here are the two txt files X and Y

Download All
0 Kudos
Message 2 of 11
(4,266 Views)

Hi!

 

The Easiest way of drawing circles in XY graphs is by generating sine and cosine values. Please check out this simple example:

Sine Circle Draw.png

 

You can modify the Number of Samples input of the sine generation to make te resolution finer or coarser.

 

Hope this helps.

 

Regards:

 

Andrew Valko

NI Hungary 

Andrew Valko
National Instruments Hungary
0 Kudos
Message 3 of 11
(4,211 Views)

could you please send me it in the Labview?

0 Kudos
Message 4 of 11
(4,209 Views)

Sure, here's the VI, though you can also drag and drop the .png into the block diagram.

 

BR:

 

Andrew

 

Andrew Valko
National Instruments Hungary
0 Kudos
Message 5 of 11
(4,204 Views)

I have Labview version 2009 ! I could not open this 

Btw Thank You so much

0 Kudos
Message 6 of 11
(4,202 Views)

Sorry But I need it with labview 2009 version

0 Kudos
Message 7 of 11
(4,196 Views)

Sure, here you go.

Andrew Valko
National Instruments Hungary
0 Kudos
Message 8 of 11
(4,194 Views)

where can I put inside the code?!

0 Kudos
Message 9 of 11
(4,188 Views)

hello

Please This didnt work out... could you please help me to find the area and circumference of the XY graph in another way ( without using the circle)??

0 Kudos
Message 10 of 11
(4,161 Views)