[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: |
Ling Huang |
Subject: |
Re: [Discuss-gnuradio] Can't stop the top_block which contain transmit_path |
Date: |
Fri, 15 May 2009 08:59:20 -0700 (PDT) |
Eric,
would you please tell me what cause tb.wait() hanging, where is this bug
from?
I have install the newest version of GNU Radio, but the problem is still the
same.
Eric Blossom wrote:
>
> 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
> address@hidden
> http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>
>
--
View this message in context:
http://www.nabble.com/Can%27t-stop-the-top_block-which-contain-transmit_path-tp23555109p23562707.html
Sent from the GnuRadio mailing list archive at Nabble.com.