Academic Hardware Products (myDAQ, myRIO)

cancel
Showing results for 
Search instead for 
Did you mean: 

measuring the Phase between 2 signals

hello, I would like to know how I could determine the difference in phase between 2 signals. I use the NI myDaq and compare the input signals of a voltage source compared to the voltage of a capacitive impedance linked to that source. So the phase difference should be something around 90 deg or pi/2. Does anyone know which block element does this kind of phase measurements? I tried to use the "Dual Channel Spectral Measurement" but the indicated phase values are shown with an un-defined unit - clearly not degrees or pi.

 

Greatful for any help 🙂

 

 

0 Kudos
Message 1 of 6
(7,480 Views)

the extract single tone information.vi  does it 🙂

 

Owning Palette: Waveform Measurements VIs

Requires: Full Development System

Takes a signal in, finds the single tone with the highest amplitude or searches a specified frequency range, and returns the single tone frequency, amplitude, and phase. The input signal can be real or complex and single-channel or multichannel.

 

 

Greetings from Germany
Henrik

LV since v3.1

“ground” is a convenient fantasy

'˙˙˙˙uıɐƃɐ lɐıp puɐ °06 ǝuoɥd ɹnoʎ uɹnʇ ǝsɐǝld 'ʎɹɐuıƃɐɯı sı pǝlɐıp ǝʌɐɥ noʎ ɹǝqɯnu ǝɥʇ'


0 Kudos
Message 2 of 6
(7,474 Views)

you're the best Henrik from Germany!

 

 

Message 3 of 6
(7,453 Views)

Thank you for the flowers 😉

 

In this forum you can say thank you by giving Kudos (click on the star)

 

 

Greetings from Germany
Henrik

LV since v3.1

“ground” is a convenient fantasy

'˙˙˙˙uıɐƃɐ lɐıp puɐ °06 ǝuoɥd ɹnoʎ uɹnʇ ǝsɐǝld 'ʎɹɐuıƃɐɯı sı pǝlɐıp ǝʌɐɥ noʎ ɹǝqɯnu ǝɥʇ'


Message 4 of 6
(7,447 Views)

Hi Henrik,thanks for your infomation and now I can also use the single tone.vi to measure a signal's phase. Now I use the square wave to be a trigger, I mean everytime at the rising edge of the wave I do the measurement, but only for the rising edge which means I just do the measurement once per wave. but the frustrating is it seems the single tone does several measurements during each square wave. Can you give me some help on that? The attached picture is my part of the VI. 

Thanks very much!

 

Regards,

Henry

0 Kudos
Message 5 of 6
(7,430 Views)

Your diagram looks very confusing to me :0

At first the tone detection needs at least one (better about 15) periodes of the signal to work.

Maybe you schould give a brief description of your measuring task, the setup used and attach the vi you wrote so far.

 

Greetings from Germany
Henrik

LV since v3.1

“ground” is a convenient fantasy

'˙˙˙˙uıɐƃɐ lɐıp puɐ °06 ǝuoɥd ɹnoʎ uɹnʇ ǝsɐǝld 'ʎɹɐuıƃɐɯı sı pǝlɐıp ǝʌɐɥ noʎ ɹǝqɯnu ǝɥʇ'


0 Kudos
Message 6 of 6
(7,422 Views)