LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

integration

·         I acquire data from instrument and store it in an array say V(t). Here the samples are equally spaced.

·         Then I calculate inductance using the formula

L(i) = f[V(t)]

And store it in another array.

·         Then I have to calculate flux using the formula (refer to the attachment)

            The integration is to be done w.r.t ‘i’, but the values of ‘L(i)’ are not equally spaced w.r.t ‘i'. So how to implement the above equation in Labview as the Numerical Integration.vi is applicable only for data with equal spacing.

0 Kudos
Message 1 of 3
(2,549 Views)
In a first approximation, you should be able to approximate your integral with a sum as follows:
 
Simply create an array with all dx, multiply it with the L array and take the array sum. Tweak as needed.
 

Message Edited by altenbach on 05-17-2007 12:41 PM

0 Kudos
Message 2 of 3
(2,524 Views)

Hi altenbach

Thanxs a lot. I implemnted the algorithm as you had mentioned and it worked. Thanxs once again.

 

0 Kudos
Message 3 of 3
(2,500 Views)