LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to cross correlate continuous signals?

Hi All,

I have a noisy input signal in which I am looking for pulses of 4 sine wave cycles. The frequency of the sine wave is 20Hz.

Is it possible to use the cross correlation VI to continually look for these pulses within the input signal?

The timing of these pulses is critical to the decoding of the data sent.

Many Thanks

Peter


0 Kudos
Message 1 of 2
(2,629 Views)

Hi Peter,

Thanks for posting on the NI forums.

I have noted it's been a while since your original post so I'm not sure how far you've come with this.

The cross-correlation VI essentially compares an array of acquired samples against an 'ideal' reference array. Given that this comparison just deals with arrays, then the source of these arrays is fairly arbitrary. With continuously acquired data samples are returned to LabVIEW's memory in discrete array packets and, given you can set the size of these arrays, you will be able to use the cross-correlation VI on each of these packets.

However, something to note- although it is likely that your sine wave pulses will fall within this array, it is also possible that these pulses could be split between two array packets. I would suggest that you check for this kind of situation within your code.

I hope this helps clarify things for you. Let me know if I can be of an further help.

Thanks,

National Instruments | Northern California
0 Kudos
Message 2 of 2
(2,573 Views)