You can do it by yourself:
Make a VI that calls Integral x(t).vi and remembers (in a shift register)
the value Y[n] for the next call.
On the next call, add this value to the whole Y output array.
Gérard D'Ans a écrit dans le message :
38E0D29A.A47020D9@ulb.ac.be...
> Problem with standard Labview Integral x(t).vi (time domain)
>
> What it does:
> Performs the discrete integration of the sampled signal X. If Y
> represents the output sequence, Integral X; the elements of Y are
> obtained using the following equation:
>
> Y[i] = Y[i-1] + (1/6) (X[i-1] + 4*X[i] + X[i+1]) dt.
>
> for i = 0, 1, 2, ...n-1.
>
> where n is the number of elements in X.
> Y[-1] = 0.0 (AArgh!)
> X[-1] is the initial condition
>
X[n] is the final condition
>
> The fact that Y[-1] is systematically zero prevents this vi from being
> used for continuous buffers the way it can be with IIR filter when
> setting
> init/cont (init:F) to False
>
> I guess this is a real drawback for real-time continuous data
> acquisitions with integration.
>
> Experience has shown that writing a dll for the standard execution
> executes slower than the standard Integral x(t).vi from Labview. Does
> anybody have a fast solution for integration where Y[-1] can be
> initialized to the last value from the previous call to integration?
> After all, X[-1] can be specified. I do not see why Y[-1] couldn't be
> so.
> Gérard D'Ans
>
>
> --
> Regards Meilleures salutations Met vriendelijke groeten Mit freundlichen
> Grüssen
> Gérard D'Ans
> Laborelec: gerard.dans@laborelec.be 32 2 3820568 fax 32 2 3820241
> Université Libre de Bruxelles: gdans@ulb.ac.be 32 2 6502515
> fax 32 2 6502710
> URL site: http://www.ulb.ac.be/polytech/
laborulb/index.htm
>
>