[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] Question about working with multiples of input va
From: |
Martin Braun (CEL) |
Subject: |
Re: [Discuss-gnuradio] Question about working with multiples of input values |
Date: |
Tue, 12 Nov 2013 19:29:28 +0100 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Tue, Nov 12, 2013 at 01:07:52PM -0500, Tommy Tracy II wrote:
> Dear GNU Radio,
>
> I am writing a GNU Radio block that processes the input in blocks of 1024. Is
> there a way for me to tell the scheduler that I can only accept inputs in
> multiples of 1024, or do I need to block the input, and save the left-overs
> for
> the next work() call? If the latter, how do I know if the work() call is
> called
> for the last time?
If it's a sync block, set_output_multiple() will do that.
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
pgpSBcyNzKiKP.pgp
Description: PGP signature