discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] GNU Radio conditional operation


From: Martin Braun
Subject: Re: [Discuss-gnuradio] GNU Radio conditional operation
Date: Wed, 27 Apr 2011 13:57:56 +0200
User-agent: Mutt/1.5.20 (2009-06-14)

On Wed, Apr 27, 2011 at 08:54:15PM +0900, Songsong Gee wrote:
> Hi,
> 
> 
> I'm wondering whether I can use GNU Radio with conditional operation
> 
> 
> For example,
> 
> 
> Listens signal, and if preamble received, skip preamble and continue listening
> 
> if payload received, store it into file sink
> 
> 
> Like that.

Hi Songsong Gee,

when using gr_blocks, you can do all kinds of stuff like that. Remember
that you can output pretty much anything when receiving something. So
you could write a block that simply doesn't output anything as long as
no payload is being pushed into its input.

There are some examples for this. Check out
gnuradio-examples/python/digital.

MB

-- 
Karlsruhe Institute of Technology (KIT)
Communications Engineering Lab (CEL)

Dipl.-Ing. Martin Braun
Research Associate

Kaiserstra├če 12
Building 05.01
76131 Karlsruhe

Phone: +49 721 608-43790
Fax: +49 721 608-46071
www.cel.kit.edu

KIT -- University of the State of Baden-W├╝rttemberg and
National Laboratory of the Helmholtz Association

Attachment: pgpEYltgMu44O.pgp
Description: PGP signature


reply via email to

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