LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

integration histogram

Hello:  How to integrate a histogram between two limits while the program is running? 

 

In attachment I included a simple program that generates a histogram for a uniform distribution with limits between (0 a 1) How to evaluate the area between x and y where 0<x<y<1?

 

Thank you very much!

0 Kudos
Message 1 of 3
(3,389 Views)

Hello Fgarcia,

 

You should be able to use Integral of Polynomial over[a,b] VI to calculate the integral under the curve.

I've modified one of the shipping examples from labVIEW Histogram Example to calculate the area under the curve.

Hope this helps.

 

Untitled.png 

 

 

Andy Chang
National Instruments
Message 2 of 3
(3,365 Views)

Thank you very much.  I will try it.  I forgot to say that I have LabVIEW 8.0

 

 Francisco

0 Kudos
Message 3 of 3
(3,361 Views)