LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to plot cross-correlation in terms of the real time?

Usually the cross-correlation or the auto-correlation results are plotted vs. the lag(tao). But how can I plot it vs. the real time of the input signal? I have two same length input signals having same input time.
0 Kudos
Message 1 of 3
(3,367 Views)
Hello,

Thank you for contacting National Instruments. What version of LabVIEW are you using? Are you using the Convolution and Correlation Express VI? If not, you might look at this VI because it looks like this VI is plotted versus the real time input.

If you could provide a small snippet of code showing the problem, that would be helpful as well.

Please let me know if there is anything further I can help you with!

Liz Fausak
National Instruments
0 Kudos
Message 2 of 3
(3,367 Views)
I am using LabView 7Express. What I use is the "convolution and correlation" VI, without the 'Express' however ... I mean, if both my input signals are L-length, the result of the correlation will be 2L-length, i.e. the length is doubled. But I want to keep the original signal size, making the result L-length as well, and have the same time origin as the input signals. I mean, if my input signals are from 0-1 second, I also expect to see the cross-correlaton is within 0-1 second, having the same data points. Thanks a lot!
0 Kudos
Message 3 of 3
(3,367 Views)