[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] Scheduling a block even with no input items RE: F
From: |
Martin Braun |
Subject: |
Re: [Discuss-gnuradio] Scheduling a block even with no input items RE: Flow graph blocking when doing 2x1 transmission |
Date: |
Tue, 03 Jun 2014 15:53:21 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 |
On 06/03/2014 03:30 PM, David Halls wrote:
> Dear All,
>
> Had anyone tried to implementing a gnuradio block that will output zeros
> if there are no items at the input, and will simply copy the input to
> output otherwise?
>
> I find that if there are no items at the input, the block never gets
> scheduled.
>
> I want this block to feed zeros to my USRP until actual data is ready to
> be passed to it.
Hey David,
any reason you can't use eob/sob?
Also, did you set forecast accordingly?
Note that this can go wrong easily: If this blocks produces a bajillion
zeros very quickly, nothing will happen until the USRP has consumed them
all.
M