discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] Received Signal Power ?


From: Kresimir Dabcevic
Subject: Re: [Discuss-gnuradio] Received Signal Power ?
Date: Fri, 2 Sep 2011 16:24:10 +0200



On Fri, 02 Sep 2011 16:19:02 +0200, Kresimir Dabcevic <address@hidden> wrote:

>
>
>
> -----Original Message-----
> From: address@hidden [mailto:address@hidden]
> Sent: Fri 9/2/2011 2:29 PM
> To: Kresimir Dabcevic
> Subject: RE: RE: [Discuss-gnuradio]  Received Signal Power ?
>Hi,
>
> Thank you very much for that answer!
>
> "10*LOG10(DECIMATE(SINGLE_POLE_IIR_FILTER(COMPLEX_TO_MAG**2(SIGNAL))))"
>
> Where am I supposed to perform this? So would this be the log of the
> out[] vector within the clock_recovery?
>
> Could you give me an example?

Do something like this in your RX program:
        self.filesink = gr.file_sink(4, 'rx_test.dat')

        self.squelch = gr.pwr_squelch_cc(-55, 1, 0, True)
        self.complex_to_mag2 = gr.complex_to_mag_squared(1)
        self.iir_filter = gr.single_pole_iir_filter_ff(0.5,1)
        self.decimator = gr.keep_one_in_n(4,360)
        self.logarithmer = gr.nlog10_ff(10,1,4)
        self.connect(self.u, self.squelch2, self.complex_to_mag2,
self.iir_filter, self.decimator, self.logarithmer, self.filesink)


Play around with the values you are feeding to the signal blocks until you get what you want.

This way, you are saving the (non-calibrated) RSS values of the signal stream you are getting from the USRP to .dat file.

Regards,
Kresimir


reply via email to

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