On Mon, May 27, 2013 at 12:14:11PM +0200, Nemanja Savic wrote:
> In which way should I use forecast function if the number of output items 
> isn't
> anyhow related to the number of input items. The relationship is more
> qualitative than quantitative. For example number of output elements depends 
> on
> whether there is certain power inside the input strea, or similar.

It doesn't really matter, because you're using a gr::block and
therefore, you can always check both ninputitems and noutputitems.

If you have a certain ratio when outputting, use that. At least, that
will ensure enough space in the output buffer when you actually do have
something going through the block.

MB

-- 
Karlsruhe Institute of Technology (KIT)
Communications Engineering Lab (CEL)

Dipl.-Ing. Martin Braun
Research Associate

Kaiserstraße 12
Building 05.01
76131 Karlsruhe

Phone: +49 721 608-43790
Fax: +49 721 608-46071
www.cel.kit.edu

KIT -- University of the State of Baden-Württemberg and
National Laboratory of the Helmholtz Association

Attachment: pgp94XwSCkc_F.pgp
Description: PGP signature

_______________________________________________
Discuss-gnuradio mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to