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.
on 2008-11-15 16:22
on 2008-11-15 19:40
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
on 2008-11-16 04:54
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.
on 2008-11-16 05:44
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