|
From: | Venkat Vinod |
Subject: | Re: [Discuss-gnuradio] Clarification of lock() and unlock() in Dynamic Flow-Graph Reconfiguration |
Date: | Mon, 30 Aug 2010 16:50:32 -0500 |
>> A couple of things to try:>Try removing the tb.stop() call, lock will stop the flowgraph anyway.>You may need to 'disconnect' (essentially undo all the connect calls) the path before recreating it. In the first instance try >the disconnect_all() method, but from memory that had some issues so you could try calling disconnect for each block which was connected.
> else:
> print "Receiver Mode : USRP to Switch to Receiving Packets "
> self.tb.stop()
Don't call stop. Just call lock.
[Prev in Thread] | Current Thread | [Next in Thread] |