LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Cross correlation for 5 signals

Hi folks,

I want to cross correlate 5 signals with constant delay. So I want the
function:

Corr(\tau)= \int(f1(t)*f2(t+\tau)*f3(t+2*tau)*f4(t+3*\tau)*f5(t+4*\tau))dt

Has anyone already written a vi like this? Would it be much faster if
I'd write it in C and would use the "Call Library Function"?

come and join us for skiing in Davos, Felix




Felix Tiefenbacher

Swiss Federal Institute for Snow- and Avalanche Research
Avalanche Dynamics
Fluelastrasse 11
CH-7260 Davos Dorf

Tel: +41 (0)81/417 02 53
Fax: +41 (0)81/417 01 10
0 Kudos
Message 1 of 3
(1,389 Views)
Felix,
What do you mean by "cross correlate signals?" What kind of signals do you have, are they related?
If you already have all of the values used in the function and are just concerned on how to implement this function into LabVIEW, you can use one of the Mathematics>>Formula VIs.

Zvezdana S.
National Instruments
0 Kudos
Message 2 of 3
(1,389 Views)
"Zvezdana S." wrote in message news:<5065000000050000004B600000-1012609683000@exchange.ni.com>...
> Felix,
> What do you mean by "cross correlate signals?" What kind of signals do
> you have, are they related?
> If you already have all of the values used in the function and are
> just concerned on how to implement this function into LabVIEW, you can
> use one of the Mathematics>>Formula VIs.
>
> Zvezdana S.
> National Instruments

Yes, the 5 signals are related in the sense that they are similar but
time shifted. Using the cross correlation I want to calculate the
thime shift. The problem is that we have a lot of data. We sample 25
channels with 50 kHz in total. I was concerned about the velocity of
the vi and a simple handling.

Thanks Felix
0 Kudos
Message 3 of 3
(1,389 Views)