On Wed, May 21, 2014 at 5:53 PM, Mostafa Alizadeh <m.alizade...@gmail.com>wrote:

> Hello everybody,
>
> I want to connect a source to a sink block but there must be a sort of
> synchronization between them. The sink block should ask the source to
> generate data stream on some specific instances. Between these instances,
> the source block must put to the sleep or be disabled. How could I do this?
>

The scheduler takes care of this. You don't need to worry this.


 I thought it was possible with exchanging messages between these two
> blocks by which the sink block send a message to the source to disable or
> enable it. But this doesn't work because the scheduler will remain on the
> source after generating only one block of data (I need to generate just one
> block) at the start up of the flowgraph!
>

If you just need to generate only one block of data (one element), then you
may not need gnuradio.
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to