[Discuss-gnuradio] GR Block Input Item Size

2010-10-25 Thread Andrew Fong

Hi,

I want to create a block that requires 1 input items and produces 
1 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 = 1
  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

___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] GR Block Input Item Size

2010-10-25 Thread Eric Blossom
On Mon, Oct 25, 2010 at 12:36:13PM -0700, Andrew Fong wrote:
 Hi,
 
 I want to create a block that requires 1 input items and
 produces 1 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 = 1
   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

If you require 10,000 input items at a time, you must
call set_output_multiple(1) in your constructor.

Eric

___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio