discuss-gnuradio
[Top][All Lists]
Advanced

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

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


From: Colby Boyer
Subject: Re: [Discuss-gnuradio] sample wise execution of blocks in grc flow graph?
Date: Tue, 14 Jun 2011 22:51:53 -0700

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 output value should stay there? The output value is shipped off to some other block that connects to yours.

--Colby

On Tue, Jun 14, 2011 at 10:35 PM, Henry Matt <address@hidden> wrote:
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? If not then how can I make it 20 samples/sec. Also,  my custom block needs to operate on sample by sample basis not on chunks of noutput_items. In other words, the custom block should produce an output sample after every 50mS (and not before) when both inputs arrive and that output value then should stay there for another 50mS until next input samples for two inputs arrive and new output is computed.

Thanks in anticipation,
H. 

_______________________________________________
Discuss-gnuradio mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio



reply via email to

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