[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] block consuming input if there is no output?
From: |
Eric Blossom |
Subject: |
Re: [Discuss-gnuradio] block consuming input if there is no output? |
Date: |
Thu, 4 May 2006 03:46:28 -0700 |
User-agent: |
Mutt/1.5.9i |
On Wed, May 03, 2006 at 04:37:49PM -0400, Chuck Swiger wrote:
> Will a 2.x block consume an input stream if it returns 0 output items?
Yes, if it's based on gr_block and you call consume or consume_each
in general_work.
> All the other atsc blocks are at least passing data and reporting
> various states, but fsd = atsc.field_sync_demux() seems to be hung up.
> An upstream block connected to fsd, when also connected to a file sink
> only produces 28672 (7 * 4096) in the file. fsd, as copied from
> gr 0.9 does not produce output untill a field sync is detected.
> It is searching thru data, but it looks like it's just going
> thru the input_tags[ii] array off to infinity, i.e,
> cerr << "atsc_field_sync_demux: searching for sync at "
> << inputs0_index + ii << endl;
>
> just counts up.
> File attached.
>
>
> Also I'm now using the 0.9 atsc_tx to create test data (20Msps shorts
> centered at 5.75MHz), instead of "off the air".
>
> --Chuck
Eric