|
RE: [Discuss-gnuradio] Variable phase signal generator: msg#00389discuss-gnuradio-gnu
Thanks Eric, I actually need to vary only the phase of the signal, the frequency of the signal and reference remaining constant. Also I need to be able to vary the phase continuously in the run time. I hope gr.delay(...) would work, except for the initial latency. And I could use gr.delay.set_delay() to change the phase difference during run time, provided the delay value is maintained within the number of samples per cycle. Please advice. Also, I want to know whether there is any block that takes in two signals (float / complex streams) and gives out the phase difference between them in some form, say no of samples. Please Clarify. Thanks a lot. Regards, Sivaram -----Original Message----- From: Eric Blossom [mailto:eb@xxxxxxxxxx] Sent: Wednesday, July 29, 2009 11:06 PM To: Narayanan, Sivaramasubramanian (R&T) Cc: Discuss-gnuradio@xxxxxxx Subject: Re: [Discuss-gnuradio] Variable phase signal generator On Wed, Jul 29, 2009 at 09:50:32AM +0530, Narayanan, Sivaramasubramanian (R&T) wrote: > Hi, > > How do I generate variable phase signals using GNU radio blocks? For > example, I generate a reference Sine wave. I need another sine wave > whose phase can be varied with respect to the reference sine wave. How > can I do that? You can do it using any of: gr.vco_f, gr.frequency_modulator_fc or gr.phase_modulator_fc http://gnuradio.org/doc/doxygen/gr__vco__f_8h-source.html http://gnuradio.org/doc/doxygen/classgr__frequency__modulator__fc.html http://gnuradio.org/doc/doxygen/classgr__phase__modulator__fc.html > Thanking you, > Regards, > Sivaram Eric _______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@xxxxxxx http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
|
|
||||||||||||||||||||||||||
|
|
|
| News | Mail Home | sitemap | FAQ | advertise |