discuss-gnuradio
[Top][All Lists]
Advanced

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

[Discuss-gnuradio] Re: Finding fsk_rx.py or fsk_tx.py


From: Andrea Farulli
Subject: [Discuss-gnuradio] Re: Finding fsk_rx.py or fsk_tx.py
Date: Thu, 27 Nov 2008 18:11:07 +0100

> Hi all
> 
>   I want to find a example file. fsk_rx.py and fsk_tx.py
>   But, I cannot found it in gnu radio3.1.3
>   gnuradio-example/python/usrp/fsk_r(t)x.py
> 
>   Does any one know which gnu radio has this file.
> 
> CJay


I found them here:
http://www.mail-archive.com/address@hidden/msg14090.html

Unfortunately they won't work with current version of gnuradio.
Anyway you should try something like this for BFSK modulation:

for the TX:
        ...
        self.cpfsk_mod = gr.cpfsk_bc(modulation_index, 1,
self.samples_per_symbol)
        self.gain = gr.multiply_const_cc(16000)

        self.connect(self.src, self.cpfsk_mod, self.gain, self.usrp)

while in RX:
        ...
        self.demod = gr.quadrature_demod_cf(20)
        self.dec = gr.keep_one_in_n(gr.sizeof_float, self.decimation)
        self.slicer = gr.binary_slicer_fb()

        self.connect(self.usrp, self.demod, self.dec, self.slicer,
self.snk)


Andrea





reply via email to

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