03-16-2009 05:25 AM
Hi
I need to calculate area under the graph, but really have no idea.
Anyone could give me some idea please.
Merci.
Solved! Go to Solution.
03-16-2009 05:32 AM - edited 03-16-2009 05:33 AM
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
07-29-2017 12:29 PM
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.
07-29-2017 01:20 PM
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.
07-29-2017 01:31 PM
It works perfectly thanks a lot.