08-26-2013 02:14 PM
I would like to take an unknown number of waveforms inside an array and add each signal together so that I end up with one waveform which is the sum of all the Y data of the wave forms. dt will be the same for all waveforms.
I have been able to get this to work by using the Add function with a fixed number of waveform array elements (such as I have attached), but I have not been able to figure out how to do it if I do not know how many elements are in the array.
I have tried using a for loop and a shift register but it does not work the same way.
Any suggestions would be greatly appreciated.
Thank you
Solved! Go to Solution.
08-26-2013 02:51 PM
Apparently I was not being explicit enough when I initialized the shift register. This is a working version using a shift register