[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] Can't stop the top_block which contain transmit_p
From: |
Eric Blossom |
Subject: |
Re: [Discuss-gnuradio] Can't stop the top_block which contain transmit_path |
Date: |
Fri, 15 May 2009 00:59:08 -0700 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
On Fri, May 15, 2009 at 12:55:20AM -0700, Ling Huang wrote:
>
> Hi, all
> I modify the gnuradio-examples/python/digital codes for some experiences. In
> one case I want to stop the running flow graph(top block), and then to start
> a new connect. I do it well in stop the receive_path connect. But I just
> can't stop the top block contain a transmit_path. If I stop the top block,
> and wait, it hang in the tb.wait.
> I seem not express well. To make it simple let's see:
> class my_topblock(gr.top_block)
> def __init__(self):
> self.trans=transmit_path(...)
> self.connect(self.trans)
> ....
>
> tb.start()
> tb.stop()
> tb.wait() # IT HANG IN HERE
> ...
> tb.start()
>
> I made a simple test code to test stopping the top block , please test it to
> see what's the problem.
What version of GNU Radio are you using?
We fixed a problem in the trunk about a month ago that could be
related to this.
Eric