Re: [Discuss-gnuradio] OOK reception

2008-10-09 Thread Dan
> > complex_to_mag_squared is many many times faster than complex_to_mag. > Using it would reduce your CPU consumption. > Okay, I changed the block from complex_to_mag to mag_squared and it seems to work well, thanks. However, I am still looking for a way to prevent writing to file when a signal

Re: [Discuss-gnuradio] OOK reception

2008-10-09 Thread Eric Blossom
On Thu, Oct 09, 2008 at 11:39:29AM -0400, Dan wrote: > Hi, I am working on an OOK receiver but am having some problems with the > squelch. > > I wrote a script with the following flow graph: > > USRP.source_c -> complex_to_mag -> add_const_ff( -const ) -> > binary_slicer_fb -> file_sink > > This

Re: [Discuss-gnuradio] OOK reception

2008-10-09 Thread Dan Halperin
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Oct 9, 2008, at 8:39 AM, Dan wrote: Hi, I am working on an OOK receiver but am having some problems with the squelch. I wrote a script with the following flow graph: USRP.source_c -> complex_to_mag -> add_const_ff( -const ) -> binary_slicer

[Discuss-gnuradio] OOK reception

2008-10-09 Thread Dan
Hi, I am working on an OOK receiver but am having some problems with the squelch. I wrote a script with the following flow graph: USRP.source_c -> complex_to_mag -> add_const_ff( -const ) -> binary_slicer_fb -> file_sink This works fine, but I would like to have some sort of discrimination for w