Measurement Studio for VB6

cancel
Showing results for 
Search instead for 
Did you mean: 

Integrate arrray values using CWDSP.Integrate

Hi;
 
Any suggestions please on my problem?
 
I have an array of 10 pressure data points sampled at 4Hz (0.25sec). I need to integrate the area under the curve when this array is plotted.
 
I am looking at using :
 
CWDSP.Integrate (x, dt, Xinit, XFinal)
 
..................................................................................................
 
Am I right in doing the following
 
 
value = CWDSP.Integrate( Pressure array(), 0.25, 0, 0)
 
I have used Xinit and Xfinal as 0, should it instead be 
 
Xinit = PressureArray(0)        
 
XFinal = PressureArray(10)   
 
 
Is "value " the returned integrated sum?
 
 
Thanks.....
.............................................................................

Message Edited by Dayaa on 09-06-2007 07:34 AM

0 Kudos
Message 1 of 2
(6,851 Views)

Hi Dayaa,

Attached is a screenshot of the help file for that function within LabVIEW, it explains it well.

Cheers

Tom | NIUK

0 Kudos
Message 2 of 2
(6,837 Views)