Forum: GNU Radio Tune failed with FLEX400 on side B

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
C3812e2ecfc256a280cc5dbe66abd92b?d=identicon&s=25 Brian T. Solan (Guest)
on 2008-11-15 16:22
(Received via mailing list)
Attachment: usrp_spectrum.py (7 KB)
I have a new USRP board with FLEX400 MIMO B boards installed on both the
A and B daughter card sides. I've created a simple spectrum display
python app based on the example apps in gnuradio-examples/python/usrp.
The my app works fine if I use the -R option to choose the A side
device. However, I get a set frequency failed error when I choose the B
side card. After some digging into the tune() method of the source_c
class, it looks like the usrp.tune() call is failing when it tries to
set the DDC frequency.

Does anyone have any ideas why this is happening?

I've attached the python source for the app I'm using.

Thanks

Brian S.
3d593de8acbe2510722af740d8668352?d=identicon&s=25 Firas Abbas (Guest)
on 2008-11-15 19:40
(Received via mailing list)
Hi,

Use :
r = usrp.tune(self.subdev._which, self.subdev, target_freq)

instead of :
r = usrp.tune(self.u, 0, self.subdev, target_freq)
       

Regards,

Firas
C3812e2ecfc256a280cc5dbe66abd92b?d=identicon&s=25 Brian T. Solan (Guest)
on 2008-11-16 04:54
(Received via mailing list)
Firas,

Do you mean to use the source_c tune method? Like this:

r = self.u.tune(self.subdev._which, self.subdev, target_freq)

I tried that and it does not help. The program runs fine with other
tuners
on the B side, such as the TV_RX board.

Brian S.
3d593de8acbe2510722af740d8668352?d=identicon&s=25 Firas Abbas (Guest)
on 2008-11-16 05:44
(Received via mailing list)
Hi,

> Brian T. Solan wrote:
> Do you mean to use the source_c tune method?I mean the 0 in your :
r = usrp.tune(self.u, 0, self.subdev, target_freq)

is wrong.

For side B, it should be 1 or use _which.

Regards,

Firas
This topic is locked and can not be replied to.