02-14-2021 01:39 PM
Hi!
I am trying to create a program that takes in a signal with noise and then averages multiple instances of the signal to remove the noise. In the attached VI, I have created a signal within a for loop that has noise. I am trying to average the multiple instances using the SubVI attached. I am not sure why I am not getting a average signal without the noise.
Solved! Go to Solution.
02-14-2021 01:50 PM - edited 02-14-2021 01:51 PM
You forgot to wire the input and set it for "Average of Columns". As a result, you are averaging the wrong dimension of the array.
Other tips.
1. Initialize your shift register with an empty array.
2. Concatenate the new data to the end of the array, not to the beginning of the array.
3. For No. of Loops, save a value in there as default besides zero. It makes us harder for us to debug when we have to choose values for your controls not knowing what you use. Obviously zero is a bad default for that control since it does nothing.
02-14-2021 01:58 PM
Thanks so much! I will keep in mind what you said for the next times