Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Phase Shifting of Sine Wave acquired using DAQmx board

Hi,
 
We are trying to implement a phase shifter in my Labview program. We are acquiring sine wave from an analogue function generator in our labview program and trying to find a way of controlling the phase of that sine wave in my labview program.
 
Regards,
 
Raza.
 
0 Kudos
Message 1 of 7
(4,299 Views)

Hello Raza,

I am a little confused about what you are trying to do.  It seems you are acquiring a sine wave signal using a DAQ board.  You would like to take this sine wave and change the phase of it?  Why are you trying to do this?  Are you saving the data to file or displaying it on a graph?  You could just change the index or time that the array is plotted against, changing the phase. 

Please let us know a little more about what you are trying to do.

Thanks,

Laura

0 Kudos
Message 2 of 7
(4,280 Views)
Hi Laura,
 
I am not simply trying to plot data, my idea is to control the phase of the incoming sine wave from the DAQ board to Labview. So, I am interested in implementing a dial control on my Labview VI to change the phase of the incoming sine wave.
 
 
Regards,
 
Raza.
 
0 Kudos
Message 3 of 7
(4,275 Views)
Try this vi.  It uses a Hilbert transform and some trig identities to generate the signal.  This is only a simulated version, so you will have to see how it works with an input.


Randall Pursley
0 Kudos
Message 4 of 7
(4,271 Views)
Here is the diagram, if you don't have LV 7.0
Randall Pursley
0 Kudos
Message 5 of 7
(4,270 Views)

This only works if you know the frequency of the input sinusoid. How do you implement a phase shift when you don't know the input frequency or the frequency changes with time?

0 Kudos
Message 6 of 7
(3,852 Views)

It is independent of the input frequency, but shifting the frequency will make the Hilbert Transform block have to settle out to the new frequency.

Randall Pursley
0 Kudos
Message 7 of 7
(3,838 Views)