[Top][All Lists]

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

[Discuss-gnuradio] tvrx_wfm_rcv.py

From: Robert W McGwier
Subject: [Discuss-gnuradio] tvrx_wfm_rcv.py
Date: Mon, 09 May 2005 17:02:14 -0400
User-agent: Mozilla Thunderbird 1.0 (X11/20041207)

On my machine, running the latest and greatest (just did an update to make sure),
attempting to run

tvrx_wfm_rcv.py  with this:

src = usrp.source_c (0, decim, 1, 0xf0f0f0f0, 0)

as line 34 results in:

address@hidden:/usr/local/src/gr-build/gnuradio-examples/python/usrp> ./tvrx_wfm_rcv_gui.py 93.85
RF_freq  93850000.0
Traceback (most recent call last):
 File "./tvrx_wfm_rcv_gui.py", line 102, in ?
   app = stdgui.stdapp (wfm_rx_graph, "WFM RX")
File "/usr/local/lib/python2.4/site-packages/gnuradio/wxgui/stdgui.py", line 35, in __init__
   wx.App.__init__ (self)
File "/usr/lib/python2.4/site-packages/wx-2.5.3-gtk2-unicode/wx/_core.py", line 5301, in __init__
File "/usr/lib/python2.4/site-packages/wx-2.5.3-gtk2-unicode/wx/_core.py", line 4980, in _BootstrapApp
   return _core_.PyApp__BootstrapApp(*args, **kwargs)
File "/usr/local/lib/python2.4/site-packages/gnuradio/wxgui/stdgui.py", line 38, in OnInit
   frame = stdframe (self.flow_graph_maker, self.title)
File "/usr/local/lib/python2.4/site-packages/gnuradio/wxgui/stdgui.py", line 59, in __init__
   self.panel = stdpanel (self, self, flow_graph_maker)
File "/usr/local/lib/python2.4/site-packages/gnuradio/wxgui/stdgui.py", line 80, in __init__
   self.fg = flow_graph_maker (frame, self, vbox, sys.argv)
 File "./tvrx_wfm_rcv_gui.py", line 34, in __init__
   src = usrp.source_c (0, decim, 1, 0xf0f0f0f0, 0)
File "/usr/local/lib/python2.4/site-packages/gnuradio/usrp.py", line 86, in source_c return ((usrp0.source_c, usrp1.source_c)[look_for_usrp(which)])(which, *args, **kwargs) File "/usr/local/lib/python2.4/site-packages/gnuradio/usrp1.py", line 1231, in source_c
   return _usrp1.source_c(*args)
NotImplementedError: No matching function for overloaded 'source_c'

if I replace that line with

src = usrp.source_c (0, decim, 1, 0, 0)

it runs and appears to be doing the right thing. There is no which or whichside or which_side parameter to be parsed. It is most decidely NOT reading the USRP to find out which, if any, tvrx boards are on. I removed the one on RX B and left
the one on RX A.


reply via email to

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