Waveform cluster consists of initial time, the time increment and the actual data values. All you waveforms should have the same values for the first two properties and we will work to average the data values.
1. Using
Unbundle by Name function get the waveform array values of each of your waveform.
2. Combine all the values arrays. You get a 2D array, where each row will be one of your waveforms.
You will need to average the values in each column to get an averaged waveform.
3. Transpose the 2D array.
4. Using a for loop average each row with a
Mean.vi.
5. Using
Bundle by Name function, create the averaged waveform cluster.
Below you can see the block diagram that includes all the steps above.