discuss-gnuradio
[Top][All Lists]
Advanced

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

[Discuss-gnuradio] Restarting a flow graph after termination by a head b


From: Ken Adams
Subject: [Discuss-gnuradio] Restarting a flow graph after termination by a head block?
Date: Tue, 28 Jan 2014 14:58:27 -0800

How can you restart a flow graph after a head block kills it?

For example, I want to do something like the following:

tb.start()
tb.wait() # head block will terminate
... do some reconfiguration ...
tb.start()

However, I get a seg fault if I ever try to call tb.start() after the head block returns.
I take it a flow graph isn't reusable after a head block terminates?

If I remove the head block:
tb.start()
tb.stop()
tb.wait()
tb.start() 

Works just fine. Could someone explain what is going on or point me to the documentation (having a hard to finding anything useful in the documentation).


reply via email to

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