On Thu, 2008-11-13 at 10:12 -0500, Newman, Timothy wrote: > For both those functions you need to pass in the variable you want > assigned the value as an input parameter. > > > > Look at gnuradio/trunk/gr-usrp2/src/usrp2_source_base.cc for the > function definitions of adc_rate and daughterboard_id.
Actually, that is correct for the C++ API, but for Python we add a small shim to make it return the value instead of passing a pointer into it. So the code in usrp2_fft.py is calling it correctly. -Johnathan _______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio