[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] RX and TX with single USRP
From: |
Johnathan Corgan |
Subject: |
Re: [Discuss-gnuradio] RX and TX with single USRP |
Date: |
Thu, 27 Dec 2007 10:37:06 -0800 |
User-agent: |
Thunderbird 2.0.0.6 (X11/20071022) |
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