discuss-gnuradio
[Top][All Lists]
Advanced

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

[Discuss-gnuradio] error in fm_tx4(fm transmitter) example


From: Tushar Patel
Subject: [Discuss-gnuradio] error in fm_tx4(fm transmitter) example
Date: Fri, 24 Apr 2009 22:44:45 -0700

I try to run the fm transmitter example in the gnu example directory

I got the error like
"AttributeError: 'db_basic_tx' object has no attribute 'which'"

I gave the following command,

address@hidden usrp]# python fm_tx4.py --tx-subdev-spec=A --freq=100M --nchannels=1

I got the following comments
Using TX d'board A: Basic Tx
Traceback (most recent call last):
  File "fm_tx4.py", line 197, in <module>
    main ()
  File "fm_tx4.py", line 193, in main
    app = stdgui2.stdapp(fm_tx_block, "Multichannel FM Tx", nstatus=1)
  File "/usr/lib/python2.5/site-
packages/gnuradio/wxgui/stdgui2.py", line 36, in __init__
    wx.App.__init__ (self, redirect=False)
  File "/usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 7935, in __init__
    self._BootstrapApp()
  File "/usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 7509, in _BootstrapApp
    return _core_.PyApp__BootstrapApp(*args, **kwargs)
  File "/usr/lib/python2.5/site-packages/gnuradio/wxgui/stdgui2.py", line 39, in OnInit
    frame = stdframe (self.top_block_maker, self.title, self._nstatus)
  File "/usr/lib/python2.5/site-packages/gnuradio/wxgui/stdgui2.py", line 60, in __init__
    self.panel = stdpanel (self, self, top_block_maker)
  File "/usr/lib/python2.5/site-packages/gnuradio/wxgui/stdgui2.py", line 81, in __init__
    self.top_block = top_block_maker (frame, self, vbox, sys.argv)
  File "fm_tx4.py", line 127, in __init__
    if not self.set_freq(options.freq):
  File "fm_tx4.py", line 180, in set_freq
    r = self.u.tune(self.subdev.which(), self.subdev, target_freq)
AttributeError: 'db_basic_tx' object has no attribute 'which'


I used the basic transmitter board.

please guide me

thanks and regards
tushar patel

reply via email to

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