[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] Suggestions on how to deal with top_block??

From: Johnathan Corgan
Subject: Re: [Discuss-gnuradio] Suggestions on how to deal with top_block??
Date: Tue, 12 Aug 2008 09:35:34 -0700

On Mon, Aug 11, 2008 at 12:30 PM, call5_99 <address@hidden> 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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]