discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] bug in usrp_oscope.py: it always selects subdev=(


From: Josh Blum
Subject: Re: [Discuss-gnuradio] bug in usrp_oscope.py: it always selects subdev=(0, 0)
Date: Fri, 21 Aug 2009 08:28:15 -0700
User-agent: Thunderbird 2.0.0.22 (X11/20090608)

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
address@hidden
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio




reply via email to

[Prev in Thread] Current Thread [Next in Thread]