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
pgpIkG5C9zXKt.pgp
Description: PGP signature
_______________________________________________ Discuss-gnuradio mailing list [email protected] https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
