[USRP-users] Configuring USRP with two WBX daughterboards

Nemanja Savic vlasinac at gmail.com
Tue Apr 7 07:41:54 EDT 2015


Hi all guys,

I have recently added second WBX into my USRP1 in order to receive signal
in both polarization planes. However I have a problem with configuring
device.
One or more years ago I managed to make receiver with LFRX and WBX but this
time the same principle doesn't work.

So I first declared USRp source as:

        self.uhd_usrp_source_0_0_1 = uhd.usrp_source(
            device_addr="fpga=usrp1_fpga_4rx.rbf",
            stream_args=uhd.stream_args(
                cpu_format="fc32",
                channels=range(2),
            ),
        )

The code won't change anything for channel 1. As you can see these two
lines, the first one pass and the second rises an error.

        print self.uhd_usrp_source_0_0_1.get_subdev_spec(0)
        print self.uhd_usrp_source_0_0_1.get_subdev_spec(1)

Error:
B:0
Traceback (most recent call last):
  File "./TPMS_WBX_WBX_rec.py", line 440, in <module>
    tb = top_block(options.det1_name, options.det2_name, options.host,
options.port, options.db_name, options.db_user, options.db_pass,
options.det_sens_tbl, options.detectors_table)
  File "./TPMS_WBX_WBX_rec.py", line 282, in __init__
    print self.uhd_usrp_source_0_0_1.get_subdev_spec(1)
  File "/usr/local/lib64/python2.6/site-packages/gnuradio/uhd/uhd_swig.py",
line 1839, in get_subdev_spec
    return _uhd_swig.uhd_usrp_source_sptr_get_subdev_spec(self, mboard)
RuntimeError: vector::_M_range_check

Could anybody help me with using USRP1 in this configuration.

Many thanx,

-- 
Nemanja Savić
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ettus.com/pipermail/usrp-users_lists.ettus.com/attachments/20150407/36dbb981/attachment-0002.html>


More information about the USRP-users mailing list