[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] foreacast (mis)behavior for gating block
From: |
Martin Braun |
Subject: |
Re: [Discuss-gnuradio] foreacast (mis)behavior for gating block |
Date: |
Wed, 30 Sep 2015 17:13:44 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.8.0 |
Where exactly is your debug output, and what does it print? Can you post
more code of the block, in particular forecast() and the block
initialization?
M
On 29.09.2015 18:52, Jared Dulmage wrote:
> I am writing a block that acts as a gate: it only consumes when
> locked
and passes samples when unlocked. The gate state is generally controlled
by tags on its input stream. Thus there is no a priori known
input/output relationship. When testing, the block performs as expected
until some number of samples are processed (input to the block) after
which it seems general_work is no longer called. Adding a number of
debug statements, I find at the point of starvation I get the following
repeated forecast sequence w/o a call to general_work in between
>
> gr::debug :INFO: frame_sync_c0 - Forecast 4096
> gr::debug :INFO: frame_sync_c0 - Forecast 2048
> gr::debug :INFO: frame_sync_c0 - Forecast 1024
> gr::debug :INFO: frame_sync_c0 - Forecast 512
> gr::debug :INFO: frame_sync_c0 - Forecast 256
> gr::debug :INFO: frame_sync_c0 - Forecast 128
> gr::debug :INFO: frame_sync_c0 - Forecast 64
> gr::debug :INFO: frame_sync_c0 - Forecast 32
> gr::debug :INFO: frame_sync_c0 - Forecast 16
> gr::debug :INFO: frame_sync_c0 - Forecast 8
> gr::debug :INFO: frame_sync_c0 - Forecast 4
> gr::debug :INFO: frame_sync_c0 - Forecast 2
> gr::debug :INFO: frame_sync_c0 - Forecast 1
>
> Any suggestions for further investigation would be appreciated.
>
> Jared.
> ------------------------------------------------------
> Jared Dulmage
> Engineering Specialist
> Digital Comm. and Implementation Dept.
> Aerospace Corporation
> 310-336-3140
>
> _______________________________________________
> Discuss-gnuradio mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>