GR Block Input Item Size

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

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

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs