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 _______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio