ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Help--Easy problem: wavefrom accumulation

Hi,
 
I have a really simple problem.
I am using Labview to acquire and display waveforms from a digital scope.
Right now, I have got the waveform and can display wavefroms one by one.
I am using a while loop, initialize the scope before loop, acquire and display in loop
close scope after loop.
 
What I want is the display of a sum of 100 waveforms. I guess that I need some
stack or memory to do this but I am really new to Labview and don't how to make full
use of the help file. Could anyone give me some help on how to solve this kind of
problem?
 
Lee
0 Kudos
Message 1 of 3
(2,709 Views)
Easiest would be to keep your signal in a shift register and add the new signal at each iteration to it. For display, divide it by N.
 
See attached simple example. Modify as needed. 🙂
0 Kudos
Message 2 of 3
(2,704 Views)
Aha, That's exactly what I want!!
Thanks a lot !!
0 Kudos
Message 3 of 3
(2,688 Views)