Re: [Discuss-gnuradio] sample wise execution of blocks in grc flow graph?

2011-06-16 Thread Martin Braun
On Wed, Jun 15, 2011 at 03:27:18PM -0700, Henry Matt wrote: > Thanks for the detailed and helpful replies about the sampling rates. Now, I > have another issue which is unclear to me. I am printing out "noutput_items" > for my custom block which come out to be either 1 or 2. As I mentioned before,

Re: [Discuss-gnuradio] sample wise execution of blocks in grc flow graph?

2011-06-15 Thread Henry Matt
Hi John and Colby, Thanks for the detailed and helpful replies about the sampling rates. Now, I have another issue which is unclear to me. I am printing out "noutput_items" for my custom block which come out to be either 1 or 2. As I mentioned before, the custom block is intended to do sample b

Re: [Discuss-gnuradio] sample wise execution of blocks in grc flow graph?

2011-06-15 Thread John Andrews
On Wed, Jun 15, 2011 at 1:31 AM, Henry Matt wrote: > Hi Colby, > > So it means that it if one input comes at 20 samples/sec then it limits the > output rate of my custom block to exactly 20 samples/sec? That is, the other > input, gr_noise_source can provide samples at a rate faster than 20 > sam

Re: [Discuss-gnuradio] sample wise execution of blocks in grc flow graph?

2011-06-15 Thread Colby Boyer
On Tue, Jun 14, 2011 at 11:31 PM, Henry Matt wrote: > Hi Colby, > > So it means that it if one input comes at 20 samples/sec then it limits the > output rate of my custom block to exactly 20 samples/sec? That is, the other > input, gr_noise_source can provide samples at a rate faster than 20 > sa

Re: [Discuss-gnuradio] sample wise execution of blocks in grc flow graph?

2011-06-14 Thread Henry Matt
Hi Colby, So it means that it if one input comes at 20 samples/sec then it limits the output rate of my custom block to exactly 20 samples/sec? That is, the other input, gr_noise_source can provide samples at a rate faster than 20 samples/sec to the custom block input but the custom block produ

Re: [Discuss-gnuradio] sample wise execution of blocks in grc flow graph?

2011-06-14 Thread Colby Boyer
Hi Henry, GNU Radio, as far as I understand, does not have a concept of time. It will try to process samples as quickly as they are available. If your input sample is arriving every 50mS then a sample should be produced by your block shortly after the 50mS arrival mark. What do you mean, the outp

[Discuss-gnuradio] sample wise execution of blocks in grc flow graph?

2011-06-14 Thread Henry Matt
Hi, I have made a custom block derived from gr_block which has two inputs. First input comes at a sampling rate of 20 samples/sec while the other input comes from the gr_noise_source block. Now, my question is: what will be the sampling rate at my custom block output? Is it also 20 samples/sec?