Re: [Discuss-gnuradio] something about forecast()

2014-06-04 Thread Marcus Müller
Hi Xianda, the io_signature specifies a minimum and a maximum number of inputs, so this might be 1,2 or 3. Greetings, Marcus On 04.06.2014 10:24, xianda wrote: > Hi: > Thank you so much. > Now i want to ask:if we set > gr::block("c_vcv

Re: [Discuss-gnuradio] something about forecast()

2014-06-04 Thread Activecat
On Wed, Jun 4, 2014 at 2:22 PM, xianda wrote: > Hi all: > I want to know something about the forecast(). > I have already known that forcast() can tell scheduler how many > input items are required for each output item. > 1.But now i have read two example: > The fi

Re: [Discuss-gnuradio] something about forecast()

2014-06-04 Thread Marcus Müller
Hi Xianda, Easiest answer first: 2. You need to write a forecast if, and only if, you're using general_work. I generally try to avoid doing that. Then: 1. ninput_items_required is, as you can see in the function signature, a reference to a vector. The size of the vector is the number of input po

[Discuss-gnuradio] something about forecast()

2014-06-03 Thread xianda
Hi all: I want to know something about the forecast(). I have already known that forcast() can tell scheduler how many input items are required for each output item. 1.But now i have read two example: The first one: void your_block::forecast(i