discuss-gnuradio
[Top][All Lists]
Advanced

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

[Discuss-gnuradio] Success!


From: John Ackermann N8UR
Subject: [Discuss-gnuradio] Success!
Date: Mon, 30 May 2005 17:01:27 -0400
User-agent: Debian Thunderbird 1.0.2 (X11/20050331)

I'm now listening to some awful music from an awful local station -- but
a strong one -- through the USRP Basic RX port.  So, things are working!

Just one problem -- when I try to use the TVRx board, I get an error
that apparently springs from tvrx.h  and a failure to define global name
"u".  The traceback is below.

Any ideas about how to fix this last problem?

Thanks -- and thanks for all the help today!

John
----
(Note: I changed "which_side" in the program to "1" because the board is
on RX B.)

flob:/home/jra/gnuradio/gr-build/gnuradio-examples/python/usrp#
./tvrx_wfm_rcv_gui.py 104.7
./tvrx_wfm_rcv_gui.py:35: FutureWarning: hex/oct constants > sys.maxint
will return positive values in Python 2.4 and up
  src = usrp.source_c (0, decim, 1, 0xf0f0f0f0, 0)
./tvrx_wfm_rcv_gui.py:37: FutureWarning: hex/oct constants > sys.maxint
will return positive values in Python 2.4 and up
  src = usrp.source_c (0, decim, 1, 0xf0f0f0f2, 0)
RF_freq  104700000.0
RX d'board A: Basic Rx
RX d'board B: TV Rx
usrp_standard_rx::set_decim_rate: WARNING rates > 128 result in
incorrect gain.
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.3/site-packages/gnuradio/wxgui/stdgui.py", line
35, in __init__
    wx.App.__init__ (self)
  File
"/usr/lib/python2.3/site-packages/wx-2.5.3-gtk2-unicode/wx/_core.py",
line 5311, in __init__
    self._BootstrapApp()
  File
"/usr/lib/python2.3/site-packages/wx-2.5.3-gtk2-unicode/wx/_core.py",
line 4990, in _BootstrapApp
    return _core_.PyApp__BootstrapApp(*args, **kwargs)
  File
"/usr/local/lib/python2.3/site-packages/gnuradio/wxgui/stdgui.py", line
38, in OnInit
    frame = stdframe (self.flow_graph_maker, self.title)
  File
"/usr/local/lib/python2.3/site-packages/gnuradio/wxgui/stdgui.py", line
59, in __init__
    self.panel = stdpanel (self, self, flow_graph_maker)
  File
"/usr/local/lib/python2.3/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 40, in __init__
    dboard = tv_rx.tv_rx (src, which_side)
  File "/usr/local/lib/python2.3/site-packages/gnuradio/tv_rx.py", line
72, in __init__
    self._i2c_addr = (0x60, 0x61)[u._which]
NameError: global name 'u' is not defined





reply via email to

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