discuss-gnuradio
[Top][All Lists]
Advanced

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

[Discuss-gnuradio] Fwd:Re:error while running fmradio.py


From: mayur sarode
Subject: [Discuss-gnuradio] Fwd:Re:error while running fmradio.py
Date: Thu, 30 Apr 2009 14:16:49 +0530


Hello friends ,
I have found the sloution to th problem i was facing while going through a post
In the porgram fmradio.py

change the line in the code as shown below

tr = usrp.tune(self.subdev._which, self.subdev, target_freq)

...which is now:

tr = usrp.tune(self.subdev.which(), self.subdev, target_freq)

It is working for me fine now

Regards,
Mayur

I want to send some mp3 files via FM using USRP
I am getting the following error

/home/mayur/Desktop/fmradio/bvbc.mp3
/home/mayur/Desktop/fmradio/czwf.mp3
/home/mayur/Desktop/fmradio/esxz.mp3
/home/mayur/Desktop/fmradio/cjqj.mp3
/home/mayur/Desktop/fmradio/dzmf.mp3
/home/mayur/Desktop/fmradio/erjg.mp3
/home/mayur/Desktop/fmradio/ezrn.mp3
Using TX d'board B: Basic Tx
Traceback (most recent call last):
File "./fmradio1.py", line 182, in <mod ule>
wfm_tx()
File "./fmradio1.py", line 115, in __init__
if not self.set_freq(options.freq):
File "./fmradio1.py", line 172, in set_freq
r = self.u.tune(self.subdev._which, self.subdev, target_freq)
AttributeError: 'db_base_sptr' object has no attribute '_which'

Can anyone help me out

The code is being used from the cvs repository found at
http://www.mep.fi/viewcvs/fmradio/fmradio.py?revision=1.4&root=cvs&view=markup

thnaks a lot

Mayur


Dear discuss! Get Yourself a cool, short @in.com Email ID now!

reply via email to

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