It doesn't work for me!
On Wed, May 21, 2014 at 7:21 PM, Activecat <[email protected]> wrote: > Try this: On the flowgraph Options, configure the Max Number Of Output to > 1. > > > > On Wed, May 21, 2014 at 9:54 PM, Mostafa Alizadeh > <[email protected]>wrote: > >> *After producing one block of data,* the scheduler always come back to >> the source block if the source doesn't produce anything and the scheduler >> doesn't see any other blocks!!! (I don't know why) >> >> I didn't say I just want one block of data, I meant I need to mandate the >> source and tell it when produce data. >> please help me! :( >> >> best, >> Mostafa >> >> >> On Wed, May 21, 2014 at 3:18 PM, Activecat <[email protected]> wrote: >> >>> On Wed, May 21, 2014 at 5:53 PM, Mostafa Alizadeh < >>> [email protected]> 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 >>> [email protected] >>> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio >>> >>> >> >
_______________________________________________ Discuss-gnuradio mailing list [email protected] https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
