Thursday, May 26, 2011

Re: [Discuss-gnuradio] Reconfigure example with lock/disconnect/connect/unlock code hangs randomly

There should be another sleep in the reconfigure method to make it working fine.

def reconfigure(self):
self.lock()
self.disconnect(self.h_block_one)
self.connect(self.h_block_two)
sleep(0.0001)
self.unlock()

I am not sure how long we have to sleep in order to fix the problem.

- Johannes

_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

No comments:

Post a Comment