[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] making a custom block with no specific/fixed rela
From: |
Martin Braun (CEL) |
Subject: |
Re: [Discuss-gnuradio] making a custom block with no specific/fixed relationship between input and output rates |
Date: |
Tue, 14 Aug 2012 19:13:40 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Tue, Aug 14, 2012 at 08:44:20AM -0700, Zing Yu wrote:
> I have a rather open question for you guys this time. I need to make a custom
> block with no specific/fixed relationship between input and output rates. More
> precisely, the input(s) to my custom block still come in a streaming fashion
> but the output is now bursty and aperiodic in nature. In other words, my
> custom
> block should consume/accept the input(s) at regular rates but should produce
> (possibly variable number of) samples at its output(s) only when it pleases.
> Therefore, I cannot derive my class from any of the gr_sync_block, gr_block,
> gr_sync_decimator, gr_sync_interpolator parent classes. What other options do
> I
> have in my hand to accomplish this job? Any suggestions?
You *can* derive from gr_block. The OFDM detector block does this.
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
pgph1M0btFz53.pgp
Description: PGP signature