LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to create 2 output signal locked in phase from a one input signal

Hi all,

 

I have a case in which I want read in a signal analog input (voltage) from a photodiode, I want to create a 2 sinewave signal locked in with same phase as the input signal and output them as analog output to my 2 laser diode. the frequency of the input signal is low aroud 15 Hz , the 2 output signal i want to be  around 120 hz and 150 hz . 

I am using USB - 6003 daq card.

I have created a vi to see the input signal but I dnt know how to create 2 signal from the waveform generator locked in the phase as the input signal. I have seen a PLL vi , but dont know how to use that with my program.

can any one tell me how to proceed.

 

thanks

AG

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

Hi AnkitG,

Here are a couple of links that might help you understand a little more how the PLL work and a way to synchronize the task to perform a PLL.

 

http://digital.ni.com/public.nsf/allkb/07BC8D77D4E9AE258625708B007CE74F?OpenDocument

http://digital.ni.com/public.nsf/allkb/2F675A9F2162EA24862572570059A308?OpenDocument

 

Also, you should be able to find a lot of examples on how to accomplish the synchronization of tasks on the community, if you consider that the only consideration is that both must start at the same moment. 

I hope, these examples might show you some useful concepts:

 

http://digital.ni.com/public.nsf/allkb/EBD603683446EC13862575B3006A63A2

http://digital.ni.com/public.nsf/allkb/9E71F8D7D3CD1B0886257688004AE353

 

Regards,

 

Luis C.

National Instruments

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