[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] How to use forecast()?
From: |
Eric Blossom |
Subject: |
Re: [Discuss-gnuradio] How to use forecast()? |
Date: |
Sun, 30 May 2010 19:16:31 -0700 |
User-agent: |
Mutt/1.5.20 (2009-08-17) |
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