On Mon, Aug 11, 2008 at 12:30 PM, call5_99 <[EMAIL PROTECTED]> wrote:
> I am new to GNU radio. I am trying to make modifications in > benchmark_rx.py, such that when there is keyboard interrupt, it will call > benchmark_tx.py. While doing this, I got an error which read multiple > instances of top_block are not allowed. I read the previous posts, and am > aware this a GNU radio defect. However, I was wondering if there is any way > of terminating the top_block instance of benchmark_rx before benchmark_tx > is > called, when there is a key board interrupt, so that this problem would not > arise? Thanks. > You can use the Python 'del' operator to force the top block instance to go out of scope when you want it to. This issue will go away with the release of 3.2 (and on the development trunk prior to that). -- Johnathan Corgan Corgan Enterprises LLC http://corganenterprises.com/
_______________________________________________ Discuss-gnuradio mailing list [email protected] http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
