Thank you so much! Just adding self.connect(self.my_block) to the top
module code fixed my problem and I'm glad to see that a fix is on the way.

On Thu, Aug 20, 2020 at 6:01 PM Kevin Reid <kpr...@switchb.org> wrote:

> On Thu, Aug 20, 2020 at 2:21 PM Marcus Müller <muel...@kit.edu> wrote:
>
>> Only blocks connected to the global top block get run; your no inputs/no
>> outputs hier block doesn't get connected to the global top block, and
>> thus, neither do the "contained" blocks.
>>
>
> GNU Radio supports hierarchical blocks with no inputs or outputs, and has
> a 1-argument connect() method specifically for connecting them to a
> containing hier or top block. It is just that GRC neglects to generate code
> to call connect() for this case. I reported the bug as #2950
> <https://github.com/gnuradio/gnuradio/issues/2950> and there is a fix
> that has not been merged, #3007
> <https://github.com/gnuradio/gnuradio/pull/3007>.
>

Reply via email to