discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] hier_block2 syntax question


From: Steven Clark
Subject: Re: [Discuss-gnuradio] hier_block2 syntax question
Date: Mon, 24 Sep 2007 18:12:51 -0400

Ok, thanks Johnathan. Can we fake it in the meantime by throwing in a "nop" block?
        self.nop = gr.nop(gr.sizeof_gr_complex)
        self.delay = gr.delay(gr.sizeof_gr_complex, 2*self._samples_per_symbol) #2T delay
        self.mult = gr.multiply_cc()

        self.connect(self, self.nop, self.delay, (self.mult, 0))
        self.connect(self.nop, (self.mult, 1))
        self.connect(self.mult, [other stuff here], self)

This runs without complaint, but doesn't seem like any data is getting through...

On 9/24/07, Johnathan Corgan < address@hidden> wrote:
Steven Clark wrote:

> What am I doing wrong? What is the correct syntax?

The good news is that you are doing the right thing for what you want to
accomplish.

The bad news it that it isn't supported (yet) :-)

The ability to wire a hier_block2 external input to multiple internal
gr-block inputs is reasonable but wasn't implemented in the current code.

Track ticket 161 is open to fix this; we'll either do this before the
3.1 stable release or as part of the 3.1 series.  When it is
implemented, it work exactly as you have written your code.

--
Johnathan Corgan
Corgan Enterprises LLC
http://corganenterprises.com


reply via email to

[Prev in Thread] Current Thread [Next in Thread]