From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

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
(4,761 Views)
Solution
Accepted by topic author 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
(4,758 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
(3,825 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
(3,822 Views)

It works perfectly thanks a lot.

0 Kudos
Message 5 of 5
(3,817 Views)