[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] drop messages(input) based on a condition

From: Bastian Bloessl
Subject: Re: [Discuss-gnuradio] drop messages(input) based on a condition
Date: Fri, 17 Feb 2017 10:32:42 +0100


> On 17 Feb 2017, at 00:08, Damindra Bandara <address@hidden> wrote:
> I want to drop some messages based on a condition inside chuncks_to_symbols 
> block. If I return 0 from the work function based on my condition, the 
> flowgraph stops. Could you please let me know what is the correct way to drop 
> the input.
> What I mean by drop is not sending messages to the subsequent blocks in the 
> flowgraph.

If you want to drop input items, you might have to change the block type. 
AFAIS, chunks_to_symbols is a fixed rate sync_interpolator.

If you change that to a normal block, you can freely define the relationship 
between input ant output items (i.e., you can consume without producing, which, 
in effect drops the items).


reply via email to

[Prev in Thread] Current Thread [Next in Thread]