[Top][All Lists]

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

Re: [Discuss-gnuradio] attribute/control stream question

From: Tom Rondeau
Subject: Re: [Discuss-gnuradio] attribute/control stream question
Date: Wed, 13 Jun 2007 16:03:00 -0400
User-agent: Thunderbird (Windows/20070326)

Matt Ettus wrote:
Eric A. Cottrell wrote:

The processing of pulses into data requires me to keep track of valid
pulses (following samples are above threshold) and leading edges (sample
is 6 dB or more than previous sample and following sample is 6 dB or
less than current sample).  I also want to indicate preamble start and
pass timestamps along.  I have thought of three methods to do this but
do not know which would be the best one.

You can do this, or you may be able to break things up into chunks of
samples and process them as vectors.  See the ofdm_sync code for an
example of how we do that.

Also, off the top of my head, you might find the peak_detector and sample_and_hold blocks useful for what you're doing. If these won't do what you need, that at least the S/H block illustrates the use of different streams where input stream 0 is some data type (float, gr_complex, bytes, ints) and input stream 1 is a byte stream (sizeof_char) as the control line.


reply via email to

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