I have created a trivial (2-line) patch that fixes this, and opened ticket 406, where the patch is attached: http://gnuradio.org/trac/ticket/406
Could someone please review it? Thank you PS I am sending this to bug-gnura...@..., patch-gnura...@... and discuss-gnura...@... because I'm unsure where I should have sent it. Please advise Dimitris Symeonidis "If you think you're too small to make a difference, try sleeping with a mosquito!" - Amnesty International On Fri, Aug 21, 2009 at 17:28, Josh Blum<j...@joshknows.com> wrote: > what does this script have that usrp_fft.py -S does not? > > Dimitris Symeonidis wrote: >> >> We seem to have found a bug introduced when the usrp_oscope.py was >> updated for the c++ api to the usrp (8 months ago): >> >> http://gnuradio.org/trac/changeset?new=10165%40gnuradio%2Ftrunk%2Fgr-utils%2Fsrc%2Fpython%2Fusrp_oscope.py&old=7236%40gnuradio%2Ftrunk%2Fgr-utils%2Fsrc%2Fpython%2Fusrp_oscope.py >> >> gnuradio/trunk/gr-utils/src/python/usrp_oscope.py >> r7236 r10165 >> 41 41 Otherwise, select A. >> 42 42 """ >> 43 if u.db[0][0].dbid() >= 0: # dbid is < 0 if >> there's no >> d'board or a problem >> 43 if u.db(0, 0).dbid() >= 0: # dbid is < 0 if >> there's no >> d'board or a problem >> 44 44 return (0, 0) >> 45 if u.db[1][0].dbid() >= 0: >> 45 if u.db(0, 0).dbid() >= 0: >> 46 46 return (1, 0) >> 47 47 return (0, 0) >> >> So it always selects dboard A! Please fix that! >> >> Dimitris Symeonidis >> "If you think you're too small to make a difference, try sleeping with >> a mosquito!" - Amnesty International >> >> >> _______________________________________________ >> Discuss-gnuradio mailing list >> Discuss-gnuradio@gnu.org >> http://lists.gnu.org/mailman/listinfo/discuss-gnuradio > _______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio