07-26-2022 04:30 AM
Hello,
I am relatively new to LabVIEW and working on a project where I need to average multiple waveforms and get the average waveform and display it.
I have attached a screenshot of a part of the VI since the whole VI is too large and cannot run without hardware.
Could someone help me to solve this issue? I tried using a shift register, to get sum of waveforms and dividing by the number of waveforms to get an average waveform. But when I am having trouble initializing waveform at the left shift register. Because dt is set to 1 if I add a constant. But my dt is calculating based on the settings selected by the user so I cant have a constant there. This gives me mismatching waveforms when tried to add them.
I hope you understand what i am trying to say. Any idea what i can do to solve this?
Solved! Go to Solution.
07-26-2022 06:17 AM
Hi ATX,
@ATX1122 wrote:
I tried using a shift register, to get sum of waveforms and dividing by the number of waveforms to get an average waveform. But when I am having trouble initializing waveform at the left shift register. Because dt is set to 1 if I add a constant.
Two options:
07-27-2022 03:57 AM
Hi GerdW,
Yes, the second method worked. Thank you so much !!