04-26-2010 10:17 AM
Hi,
I am using the NI USB 6009 module to acquire two sine wave inputs from a signal generator. Can I use the max sample rate of 48000 to acquire the signals?
Also, I need to calculate the phase difference between the two waves. Does LabView have any functions that can do that? If not how do I calculate the phase difference betweent the two waveformsin LabView?
I am using LabView 8.6.1
Kind Regards,
Harshil.
04-26-2010 02:13 PM
Regarding phase difference:
The first thing that comes to mind is to perform FFT's of both signals and subtract the phase components. You will get the phase difference for all frequencies, but you can extract the frequency (ies) you want.
Is that enough or do you need more? I don't have LabVIEW on this PC so I can't post any example code.