On Sun, May 30, 2010 at 01:33:17PM -0700, Zohair wrote:
> 
> Hello everybody,
> 
> I'm working on building a block that accepts many inputs (say n) and has one
> output. For a single output item to be generated, 100 samples from each
> input port should be taken. How can I use forecast() and general_work() to
> serve my purpose? I read somewhere that we never call or modify the
> parameters explicitly, the scheduler does this instead. But how does the
> scheduler know that I need 100 samples exactly.
> 
> Any help is highly appreciated. 

No need to use general_work or forecast.

Derive from gr_sync_decimator.  There are many examples in
gnuradio-core/src/lib/general.

Eric

_______________________________________________
Discuss-gnuradio mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to