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
[email protected]
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com