09-19-2011 06:43 AM
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 🙂
09-19-2011 07:41 AM - edited 09-19-2011 07:45 AM
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.
09-28-2011 02:05 AM
you're the best Henrik from Germany!
09-28-2011 05:00 PM
Thank you for the flowers 😉
In this forum you can say thank you by giving Kudos (click on the star)
10-19-2011 04:27 PM
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
10-20-2011 08:45 AM
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.