Re: [Discuss-gnuradio] usrp_wfm_rcv2_nogui.py

2009-03-07 Thread Johnathan Corgan
On Sat, Mar 7, 2009 at 11:46 AM, Jordan Hayes wrote: > It looks like this function used to be in gnuradio/gr-usrp/src/usrp.py but > has now migrated to C++ ... but isn't referenced in the swig .i file? You're right, this was code that was rewritten in C++, but adding it back to the Python API vi

Re: [Discuss-gnuradio] usrp_wfm_rcv2_nogui.py

2009-03-07 Thread Jordan Hayes
dxc_freq, inverted = usrp.calc_dxc_freq(f[n], baseband_freq, self.u_converter_rate()) gives me an error: AttributeError: 'module' object has no attribute 'calc_dxc_freq' Ok, I see the code for this in usrp/host/lib/legacy/usrp_standard.cc but % find . -name \*.py | xargs grep cal

[Discuss-gnuradio] usrp_wfm_rcv2_nogui.py

2009-03-07 Thread Jordan Hayes
Has this been updated lately? I tried running it and got an error on this line: ok, baseband_freq = self.subdev.set_freq(mid_freq); There's no use of a variable "ok" anywhere, so that kind of looks like some English crept in there :-) Taking "ok, " out gets me further along. But then thi