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:


[EMAIL PROTECTED]:/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__
self._BootstrapApp()
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.


Bob





_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to