LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

time domain calculations

hello,

simple speaking i have a time domain signal that is acquired. Forexample this signal contains :_

1) 1000 samples
2) scan rete of 10Kh

now if i had the above as an experiment and then i do say 100 of such experiments then what i need is to be able to add the results (1000 samples) together

therefore

If

exp1

t=1 value 1
.
.
.
t=1000 value=1000


then second experiment

same thing... but in then end summing it so that i sum all the values in t=1 then all the value in t=2

so the final result looks like

having one time series that si the summation of all the 100 exp...


i hope this makes sense, can anyone let me know how to do this? I tried to use time domain analysis and using but it keeps results for all experiments which i do not need.

thanks
0 Kudos
Message 1 of 3
(2,573 Views)
Given your example data, and assuming you got the same data on every run of the hundred, then your 'single time series' would look:

t=1 value=100
t=2 value=200
t=3 value=300
...
t=1000 value=100000

if that's the case try coding up the attached picture.

-Good Luck.
0 Kudos
Message 2 of 3
(2,559 Views)
It is most efficient to setup a shift register and add new signals as they arrive. The shift register contains the sum.

The attached example shows one possible solution. (For the display, I divide by the number of scans for nicer scaling).
0 Kudos
Message 3 of 3
(2,552 Views)