discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] usrp2_wfm_rcv.py


From: Mike
Subject: Re: [Discuss-gnuradio] usrp2_wfm_rcv.py
Date: Sat, 6 Mar 2010 01:16:10 +0000

Hi Johnathan,

Have you had any luck with this issue?  The same is happening on my FLEX2400 with USRP2.

Here is the full error message:

./usrp2_wfm_rcv.py -f 2.4G
Using RX d'board 0x0007
This daughterboard does not cover the required frequency range
for this application.  Please use a BasicRX or TVRX daughterboard.
Press ENTER to continue anyway, or Ctrl-C to exit.
>>> gr_fir_ccf: using SSE
>>> gr_fir_fff: using SSE
Traceback (most recent call last):
  File "./usrp2_wfm_rcv.py", line 287, in <module>
    app = stdgui2.stdapp (wfm_rx_block, "USRP2 WFM RX")
  File "/usr/local/lib/python2.6/dist-packages/gnuradio/wxgui/stdgui2.py", line 36, in __init__
    wx.App.__init__ (self, redirect=False)
  File "/usr/lib/python2.6/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 7935, in __init__
    self._BootstrapApp()
  File "/usr/lib/python2.6/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 7509, in _BootstrapApp
    return _core_.PyApp__BootstrapApp(*args, **kwargs)
  File "/usr/local/lib/python2.6/dist-packages/gnuradio/wxgui/stdgui2.py", line 39, in OnInit
    frame = stdframe (self.top_block_maker, self.title, self._nstatus)
  File "/usr/local/lib/python2.6/dist-packages/gnuradio/wxgui/stdgui2.py", line 60, in __init__
    self.panel = stdpanel (self, self, top_block_maker)
  File "/usr/local/lib/python2.6/dist-packages/gnuradio/wxgui/stdgui2.py", line 81, in __init__
    self.top_block = top_block_maker (frame, self, vbox, sys.argv)
  File "./usrp2_wfm_rcv.py", line 116, in __init__
    self._build_gui(vbox, usrp_rate, demod_rate, audio_rate)
  File "./usrp2_wfm_rcv.py", line 199, in _build_gui
    callback=self.set_gain)
  File "/usr/local/lib/python2.6/dist-packages/gnuradio/wxgui/form.py", line 225, in __init__
    nsteps = int((self.max-self.min)/self.step_size)
ZeroDivisionError: float division


Cheers,

Mike


On 11 December 2008 17:05, Johnathan Corgan <address@hidden> wrote:
On Wed, Dec 10, 2008 at 4:02 PM, Catalin Lacatus
<address@hidden> wrote:

> For the first time I was using USRP2 with BasicRX.
> Also, I did some tests for different frequencies and gains with Basic RX and
> RFX2400. I got the same error

This appears to be a bug in usrp2_wfm_rx.py, dealing with setting up
the gain slider control in the GUI.  I understand why this is
happening with the BasicRX or LFRX, but not yet with the RFX2400.
I'll look into this further soon.

-Johnathan


_______________________________________________
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]