discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] Problem feeding garbage to GNU Radio


From: Johnathan Corgan
Subject: Re: [Discuss-gnuradio] Problem feeding garbage to GNU Radio
Date: Sat, 11 Oct 2008 10:16:54 -0700

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.)






reply via email to

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