Hi, You have to call tb.stop() before the tb.wait(), not the other way around like you mentioned:
tb.stop() tb.wait() The tb.wait() is to make sure the flowgraph has fully stopped before doing anything else. Cheers, Mike Mike M0MIK On 6 February 2013 13:37, maiconkist <[email protected]> wrote: > Resolved. > > Its necessary to call gr.top_block::wait() method before the "stop()". > Anybody know why this is necessary? > > > > -- > View this message in context: > http://gnuradio.4.n7.nabble.com/unittest-with-USRP-not-finishing-tp39439p39441.html > Sent from the GnuRadio mailing list archive at Nabble.com. > > _______________________________________________ > Discuss-gnuradio mailing list > [email protected] > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio >
_______________________________________________ Discuss-gnuradio mailing list [email protected] https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
