On Sat, 2008-10-11 at 13:04 -0400, Philip Balister wrote:
> if __name__ == '__main__':
> print("Create top block")
> tb = top_block()
> print("start top block")
> tb.start()
> print("started top block")
> raw_input('Press Enter to quit: ')
> tb.stop()
Just FYI--if you start() a flowgraph instead of using run(), you are
responsible both for invoking stop() at the right point (which you are),
as well as invoking wait(), which allows all the flowgraph threads to
exit cleanly before Python continues (in this case, exits out the bottom
of the script.)
_______________________________________________
Discuss-gnuradio mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio