LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Calculate area under the graph

Solved!
Go to solution

Hi

 

I need to calculate area under the graph, but really have no idea.

 

Anyone could give me some idea please.

 

Merci.

0 Kudos
Message 1 of 5
(5,374 Views)
Solution
Accepted by Fird

I don't know whether the example CC attached in this thread will help you or not. Please go through it.

 

Start your own program. Whenever you stuck up at any point, post here. Genius people around the forum here will surely guide you to proceed further. don't worry.

 

Enjoy wiring.

 

Mathan

Message Edited by mathan on 03-16-2009 05:33 AM
Message 2 of 5
(5,371 Views)

Hi, I also need to calculate the area under the curve plotted in the chart, but i have no clue how to do this.

 

Every integrator block that I m trying to use did not connect to the wires.

 

Anyone can help?

 

thanks.

0 Kudos
Message 3 of 5
(4,438 Views)

Your chart takes a single point with each iteration and keeps a history of the last 256 points.

 

So do you want an integral of all data ever seen (during the current run) or only of the last 256 points?

 

In any case, you need to use a ptbypt tool. Have a look at integral ptbypt. Depending on your need, it might be sufficient to just sum the current values in a scalar shift register.

Message 4 of 5
(4,435 Views)

It works perfectly thanks a lot.

0 Kudos
Message 5 of 5
(4,430 Views)