[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] grc amplitude demodulation questions
From: |
Josh Blum |
Subject: |
Re: [Discuss-gnuradio] grc amplitude demodulation questions |
Date: |
Fri, 14 Jan 2011 12:14:51 -0800 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101208 Lightning/1.0b2 Thunderbird/3.1.7 |
> I believe the code is already doing this. Here are code segments for
> 2 fft guis. The first shows the fft of the raw output of the USRP2.
> This gui responds correctly. Notice the line:
> "sample_rate=100e6/usrp2_decim", so I assume that as I dynamically
> adjust usrp2_decim, this value is being updated. However, with the
> second fft, while there is a similar line:
> "sample_rate=100e6/usrp2_decim/sw_decim" that includes the software
> decimation value, this fft gui does not correct the position of the
> fft when I dynamically change sw_decim. The x-axis DOES change, but
> the peaks in the spectrum just stay fixed in their relative
> positions. Any thoughts?
>
Where else is sw_decim used? Is it used in a parameter that can be
changed at runtime? Look at the generated source code, see set_sw_decim
-Josh