Synchronising two source blocks

Hi all,when i feed output of two sine sources to a scope sinks with two
inputs, it shows a phase difference even when they have same frequency
and sample rate. How can i synchronize them in gnuradio companion
RegardsGR Begh

On 02/01/2013 07:09 AM, Ghulam Rasool B. wrote:

Hi all,when i feed output of two sine sources to a scope sinks with
two inputs, it shows a phase difference even when they have same
frequency and sample rate. How can i synchronize them in gnuradio
companion RegardsGR Begh

The sine sources are sync’d in your flow graph. There is a block inside
the scope sink that non synchronously drops packets when the display is
not active. The lazy way (this is what I often do :-)) is to use one
complex channel with a float to complex block. I think the right way
might involve removing the gr.copy block from inside the wxgui scope
sink guts.

-josh