class="resources" Integration (Not in Base Package) - LabVIEW 7.1 Help - Support - National Instruments
Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Integration (Not in Base Package)

Calculates both the function values and the integral of a 1D function between start and end. The function is defined by a formula. The number of points to be calculated depends on the complexity of the given function. Details  Example

start is the start point of the interval. The default is 0.0.
end is the end point of the interval. The default is 1.0.
formula is a string describing the function under investigation. You can use any valid symbol as the variable name.
X Values is the array of all regarded points in the interval (start, end).
Y Values are the values of the function.
Integral of Y are the values of the integral of formula between start and end at all X Values values.
ticks is the time in milliseconds to analyze the formula and to produce the X Values array and the Integral of Y array.
error returns any error or warning from the VI. You can wire error to the Error Cluster From Error Code VI to convert the error code or warning into an error cluster.

Integration Details

Let f(t) be the given function. The calculation of

can be reformulated as an ordinary differential equation,

The algorithm is based on this reformulation. The VI uses the Runge Kutta method for accuracy.

Example

Refer to the 1D Explorer Example VI in the labview\examples\math\math.llb directory for an example of using the Integration VI.

 


Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit