Re: [Discuss-gnuradio] Fwd: problem with top_block.stop()

2013-12-18 Thread Sumedha Goyal
Hi I used a blank work() function as follows def work(self,ins,outs): print " i m in work " self.mark_done() using "mark_done(), I got the control back in the main loop. When I use my specific work() function with mark_done() after a successful event, I get following error message: ASSERT FA

Re: [Discuss-gnuradio] Fwd: problem with top_block.stop()

2013-12-18 Thread Tom Rondeau
On Wed, Dec 18, 2013 at 11:29 AM, Sumedha Goyal wrote: > Hi Tom, > > I have removed tb.wait(). Now the sequence is > > tb=top_block(options,0.8) > tb.start() > sleep(3) > tb.stop() > > I want my program to stop here and take new values which is not happening > right now. It executes till sleep(3)

Re: [Discuss-gnuradio] Fwd: problem with top_block.stop()

2013-12-18 Thread Sumedha Goyal
Hi Tom, I have removed tb.wait(). Now the sequence is tb=top_block(options,0.8) tb.start() sleep(3) tb.stop() I want my program to stop here and take new values which is not happening right now. It executes till sleep(3) and then hangs somewhere. You have asked to stop the flowgraph internally,

Re: [Discuss-gnuradio] Fwd: problem with top_block.stop()

2013-12-18 Thread Tom Rondeau
On Wed, Dec 18, 2013 at 1:39 AM, Sumedha Goyal wrote: > > > -- Forwarded message -- > From: Sumedha Goyal > Date: Wed, Dec 18, 2013 at 10:50 AM > Subject: Re: [Discuss-gnuradio] problem with top_block.stop() > To: Tom Rondeau > > > Hi > My flowgraph does not stop naturally. I wan

[Discuss-gnuradio] Fwd: problem with top_block.stop()

2013-12-17 Thread Sumedha Goyal
-- Forwarded message -- From: Sumedha Goyal Date: Wed, Dec 18, 2013 at 12:04 PM Subject: Re: [Discuss-gnuradio] problem with top_block.stop() To: Tom Rondeau Hi Following is my gdb backtrace output. Could this be of any help? What should I look for in this backtrace to locate th

[Discuss-gnuradio] Fwd: problem with top_block.stop()

2013-12-17 Thread Sumedha Goyal
-- Forwarded message -- From: Sumedha Goyal Date: Wed, Dec 18, 2013 at 10:50 AM Subject: Re: [Discuss-gnuradio] problem with top_block.stop() To: Tom Rondeau Hi My flowgraph does not stop naturally. I want to stop and start it again using different value for a parameter as shown