[USRP-users] Error when connect USRP2 via MIMO cable

Marcus D. Leech mleech at ripnet.com
Wed Nov 15 14:07:42 EST 2017


On 11/15/2017 01:50 PM, Wahhab Albazrqaoe via USRP-users wrote:
> Hi,
> I connect two USRP2 devices via a MIMO cable.
> USRP2 devices are connected (Gigabit Eth) to different hosts. I didn't 
> change IP addresses for USRP2 devices.
>
> I use "rx_samples_to_file.cpp" to collect some complex samples from 
> each USRP2 separately. On the USRP2 master device, 
> "rx_samples_to_file.cpp" is not mortified. On the USRP2 slave device, 
> we use the following code:
>
> //make mboard 1 a slave over the MIMO Cable
>         usrp->set_clock_source("mimo", 1);
>         usrp->set_time_source("mimo", 1);
>
>         //set time on the master (mboard 0)
>         usrp->set_time_now(uhd::time_spec_t(0.0), 0);
>
>         //sleep a bit while the slave locks its time to the master
> boost::this_thread::sleep(boost::posix_time::milliseconds(100));
>
> instead of
> //Lock mboard clocks
>     usrp->set_clock_source(ref);
>
> Each device is configured with a unique center frequency (different 
> from the other device).
>
> When I run the code on the slave computer, I got the following Error 
> message:
>
> LookupError: indexError multi_usrp::mb_root(1) – vector ::_M_range_check
>
>
> We usually use this command:
> sudo ./rx_samples_to_file --args master_clock_rate=50e6 --freq=2440e6 
> --bw=50e6 --rate=50e6 --gain=50  --progress --wirefmt sc8 --duration 30
>
> I appreciate if some one has an idea how to fix this error.
>
> Best,
> Wahhab
>
>
>
> _______________________________________________
> USRP-users mailing list
> USRP-users at lists.ettus.com
> http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
your set_time_source and set_clock_source calls are referring to 
motherboard '1', but since you have them spread across two computers, 
use '0'.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ettus.com/pipermail/usrp-users_lists.ettus.com/attachments/20171115/9a8bee19/attachment-0002.html>


More information about the USRP-users mailing list