annulla
Visualizzazione dei risultati per 
Cerca invece 
Intendevi dire: 

How to plot a moving average?

Now I want to have a moving average of 10 values.
How can I do this? Please find attached *.VI, and change to implement this function

By the way, I am using LabView 7.0.
0 Kudos
Messaggio 1 di 3
3.283Visualizzazioni
There's a shipping example called Calculate Running Average that you should look at.
0 Kudos
Messaggio 2 di 3
3.283Visualizzazioni
You would calculate a moving average in your program in the same manner as the shipping example, Calculate Running Average. The example calculates a moving average of four values, so the only difference would be that you would need to add six additional shift registers to the ones that already exist. Historical shift registers are added by dragging the bottom boundary of a preexisting shift register to the size desired.

Eric Sulzer
Applications Engineer
National Instruments
http://www.ni.com/ask
E. Sulzer
Applications Engineer
National Instruments
0 Kudos
Messaggio 3 di 3
3.283Visualizzazioni