Re: [Discuss-gnuradio] fg.run() doesn't return if gr.head() is used

2007-08-17 Thread Dawei Shen
Hi, Johnathan Thank you for the answer. But what's the difference between the new blocks and old blocks? Thanks. Dawei On 8/16/07, Johnathan Corgan <[EMAIL PROTECTED]> wrote: > > Dawei Shen wrote: > > > BTW: Eric, you mentioned the gr_udp_source, I am quite interested in it, > > is there any exa

Re: [Discuss-gnuradio] fg.run() doesn't return if gr.head() is used

2007-08-16 Thread Johnathan Corgan
Dawei Shen wrote: > BTW: Eric, you mentioned the gr_udp_source, I am quite interested in it, > is there any example in the svn using this block? If so, please point > some of them to me. Thanks. See gnuradio-examples/python/hier/networking. These use the new-style flowgraph code, but you can see

Re: [Discuss-gnuradio] fg.run() doesn't return if gr.head() is used

2007-08-13 Thread Dawei Shen
Hi, Eric and Johnathan Thank you guys for the quick answer. I have done some tests with my code and got the following observation: I used a low-pass filter in the processing chain, if the decimation rate is set to 1, then fg.run() can return; if the decimation rate is set to any other integers, fg

Re: [Discuss-gnuradio] fg.run() doesn't return if gr.head() is used

2007-08-13 Thread Eric Blossom
On Thu, Aug 09, 2007 at 09:32:56PM -0400, Dawei Shen wrote: > Hey Guys > > I used gr.head() as my source, so I assumed fg.run() should be able to > return, but it doesn't. Anybody has any idea which could be the reason? Here > is the error message if I press ctrl+C to stop the program. It should