[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] making a custom block with no specific/fixed rela
Martin Braun (CEL)
Re: [Discuss-gnuradio] making a custom block with no specific/fixed relationship between input and output rates
Tue, 14 Aug 2012 19:13:40 +0200
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
> 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
> have in my hand to accomplish this job? Any suggestions?
You *can* derive from gr_block. The OFDM detector block does this.
Karlsruhe Institute of Technology (KIT)
Communications Engineering Lab (CEL)
Dipl.-Ing. Martin Braun
Phone: +49 721 608-43790
Fax: +49 721 608-46071
KIT -- University of the State of Baden-Württemberg and
National Laboratory of the Helmholtz Association
Description: PGP signature