[Top][All Lists]

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

Re: [Discuss-gnuradio] Some noodling

From: Johnathan Corgan
Subject: Re: [Discuss-gnuradio] Some noodling
Date: Wed, 20 Aug 2008 09:15:38 -0700

On Tue, Aug 19, 2008 at 2:00 PM, Marcus Leech <address@hidden> wrote:

> Controlling the switching function is no problem.   But processing the
> samples as they come in has me a bit stumped,
>   unless I write a custom-processing block.

This is your best bet.

> So, the input switches at some rate (a few Hz), which means that the samples
> sometimes represent the "sky", and
>  sometimes represent the calibrator.  I can tag the samples so that samples
> that come in during the time when
>   the input is "sky" will be positive, and those that come in during
> "calibration" will be negative.

It's pretty straightforward to write a new block that only passes
positive samples (or negative, depending on a constructor parameter.)
Then you'd attach two of these to the output of your usrp block and
you'll have the two streams you need.

Johnathan Corgan
Corgan Enterprises LLC

reply via email to

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