Re: [Discuss-gnuradio] control of noutput_items by the user

2012-12-04 Thread Martin Braun (CEL)
. ━━━ From: Tom Rondeau t...@trondeau.com To: Zing Yu zing...@yahoo.com Cc: discu ss-gnura...@gnu.org discuss-gnuradio@gnu.org Sent: Friday, November 30, 2012 7:24 PM Subject: Re: [Discuss-gnuradio] control of noutput_items by the user Yu, You don't always have to consume

Re: [Discuss-gnuradio] control of noutput_items by the user

2012-12-04 Thread Zing Yu
I have now split the above flowgraph into two separate flowgraphs as following: uhd usrp source - LPF - my custom block_1 my custom block 2 - uhd usrp sink where I have divided the functionality of my original custom block into custom block 1 and custom block 2. Now, when I relay the information

Re: [Discuss-gnuradio] control of noutput_items by the user

2012-12-03 Thread Zing Yu
...@trondeau.com To: Zing Yu zing...@yahoo.com Cc: discuss-gnuradio@gnu.org discuss-gnuradio@gnu.org Sent: Friday, November 30, 2012 7:24 PM Subject: Re: [Discuss-gnuradio] control of noutput_items by the user Yu, You don't always have to consume everything that's handed to you. So if you get kN

[Discuss-gnuradio] control of noutput_items by the user

2012-11-30 Thread Zing Yu
Hi All, As usual, I have a simple question for you guys. I have a custom block for which I specify set_output_multiple(N) in the constructor. Then, for each call to its work(), I print the parameter noutput_items. As expected, noutput_items = N most of the times, but occasionally it comes out

Re: [Discuss-gnuradio] control of noutput_items by the user

2012-11-30 Thread Alex Zhang
I am not sure it can work or not: Set the in/out ratio while setting the output multiple, then you can control the output items number by setting the required input items in the forecast() of your block. On Fri, Nov 30, 2012 at 5:51 PM, Zing Yu zing...@yahoo.com wrote: Hi All, As usual, I

Re: [Discuss-gnuradio] control of noutput_items by the user

2012-11-30 Thread Tom Rondeau
On Fri, Nov 30, 2012 at 3:51 PM, Zing Yu zing...@yahoo.com wrote: Hi All, As usual, I have a simple question for you guys. I have a custom block for which I specify set_output_multiple(N) in the constructor. Then, for each call to its work(), I print the parameter noutput_items. As expected,