# GR Block Input Item Size

**URL:** <https://www.ruby-forum.com/t/gr-block-input-item-size/198064>\
**Category:** GNU Radio\
**Created:** [October 25, 2010, 9:52pm UTC](https://www.ruby-forum.com/t/gr-block-input-item-size/198064 "2010-10-25T21:52:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/77aa72/32.png) [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Post date:** [October 25, 2010, 9:52pm UTC](https://www.ruby-forum.com/t/gr-block-input-item-size/198064/1 "2010-10-25T21:52:22Z")

</div>

Hi,

I want to create a block that requires 10000 input items and produces  
10000 output items on a single stream. However, I’m getting the  
following message: sched: \<gr\_block lfm\_demod\_cf (8)\> is requesting more  
input data  
than we can provide.  
ninput\_items\_required = 10000  
max\_possible\_items\_available = 8191  
If this is a filter, consider reducing the number of taps.

How do I get the block to operate as I want? I thought inheriting from  
gr\_sync\_block with 1:1 input/output rate would work, but it doesn’t  
seems to be the case.

Andrew

---

<div class="post-metadata">

**Author:** ![dukael](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/c77e96/32.png) [@dukael](https://www.ruby-forum.com/u/dukael)\
**Post date:** [October 26, 2010, 2:10am UTC](https://www.ruby-forum.com/t/gr-block-input-item-size/198064/2 "2010-10-26T02:10:21Z")

</div>

On Mon, Oct 25, 2010 at 12:36:13PM -0700, Andrew F. wrote:

> How do I get the block to operate as I want? I thought inheriting  
> from gr\_sync\_block with 1:1 input/output rate would work, but it  
> doesn’t seems to be the case.
> 
> Andrew

If you require 10,000 input items at a time, you must  
call set\_output\_multiple(10000) in your constructor.

Eric
