Hi,
I am using LabVIEW 6.1 and I want to form the mean and standard deviation of a waveform i acquire using the acquire waveforms.vi (settings: scan rate 10 and number of samples 10 ==> 1 sec for 1array consisting of 10 Datapoints).
I would like to acquire for 10 seconds or something like this and then form the mean and standard deviation of the 10*10 datapoints. I am get using waveform component.vi, std deviation and variance.vi. To create an array of 100 points i used the insert into array.vi with shiftregisters. The very first time i run the vi it does what it should but after stopping the acquisition and starting it again the data old data is still in my array and i form the mean of 200 points and so on. How can i make sure there is no old data in the array when i stop running the vi and start a new acquisition ?
Thanks for any help
Philipp