|
From: | Zohair M. Abu Shaban |
Subject: | RE: [Discuss-gnuradio] Why does general_work return large number? |
Date: | Wed, 9 Jun 2010 11:57:24 +0100 |
Hi Eric, I have read what you recommended but still haven't understood what the significance of this number is. I have another block that generates a vector of 4 elements and the noutput_items is almost 1/4 the number of first block. Any further help please? Thanks again, Zohair > Date: Sat, 5 Jun 2010 07:55:28 -0700 > From: address@hidden > To: address@hidden > CC: address@hidden > Subject: Re: [Discuss-gnuradio] Why does general_work return large number? > > On Sat, Jun 05, 2010 at 02:23:21PM +0100, Zohair M. Abu Shaban wrote: > > > > > > Dear All, > > > I have built a block that uses single input sample to produce a > > single output sample. The weird thing that general_work in gr_block > > returns a number around 4095, 4096. any interpretation or solution > > for this? > > First off, why do you think that this is a problem? > > You block should be written such that it produces the number of output > items that is requested. It sounds like the block is doing that. > > There are many 100's of examples of blocks in the code base. > If you haven't already, please read: > > http://www.gnu.org/software/gnuradio/doc/howto-write-a-block.html > > It's somewhat out of date, but the fundamentals are correct. > > Eric Get a free e-mail account with Hotmail. Sign-up now. |
[Prev in Thread] | Current Thread | [Next in Thread] |