Wolfgang Buesser wrote:

> Any suggestions for a straightforward approach would be more than
> welcome.

The pattern to use (in pseudo code) is:

class receive_path(gr.hier_block2), with no inputs or outputs
(instantiate and self.connect your receive chain here)

class transmit_path(gr.hier_block2), with no inputs or outputs
(instantiate and self.connect your transmit chain here)

class my_top_block(gr.top_block)

In my_top_block's __init__ function:

rx = receive_path(...)
tx = transmit_path(...)
self.connect(rx)
self.connect(tx)

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


_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to