Tune failed with FLEX400 on side B

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.

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

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

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.