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 _______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio