LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to get the real-time variance plot of continuous acquired waveform signal

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

0 Kudos
Message 1 of 2
(2,570 Views)

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.

Hope this helps.
-Ben

WaterlooLabs
0 Kudos
Message 2 of 2
(2,545 Views)