LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Calculating Phase Differnce

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.

 

 

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

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.

-Matt Bradley

************ kudos always appreciated, but only when deserved **************************




0 Kudos
Message 2 of 2
(2,297 Views)