Johnathan Corgan-2 wrote:
>
> 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)
>
>
Thank's!
Meanwhile I found a different solution:
http://www.nabble.com/file/p14519016/my_both.py my_both.py
It works fine - I just can't get it to quit after nsamples have been read
Any idea how that could be achieved?
Wolfgang
--
View this message in context:
http://www.nabble.com/RX-and-TX-with-single-USRP-tp14513947p14519016.html
Sent from the GnuRadio mailing list archive at Nabble.com.
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio