07-03-2009 08:51 PM
Hi there,
I used a while loop to continuously acquire a wavefrom signal from a PC board. I would like to get more stable signal, so are there any way i can get the real-time variance of the continuous acquired signal? this is just like the "average" waveform function an oscilloscope normally has, so how can i realize it by labview programming?
Thanks.
Mike
07-06-2009 12:29 PM
Hey Mike,
Are you looking to obtain the average of the last several samples or are you looking to calculate the variance of your signal as you acquire it? If you want to simply take an average of the last few readings you could use shift registers to remember the last reading and then do the math. Alternatively, you could use the Statistics Express VI to calculate the variance of your acquired signal. Beyond that, perhaps a little more detail of what sort of calculation you are trying to perform on your signal would be helpful.