> 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 _______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio