[USRP-users] Synchronizing 3 B210

Michael West michael.west at ettus.com
Mon Oct 19 21:46:35 EDT 2015


Hi Rob,

It is possible, but it requires manually editing the Python code.  Each
B210 will need to be in a separate sink/source block.  Then, add the
following to the code:

// set time and clock sources to external
self.usrp1.set_time_source("external")
self.usrp1.set_clock_source("external")
self.usrp2.set_time_source("external")
self.usrp2.set_clock_source("external")
self.usrp3.set_time_source("external")
self.usrp3.set_clock_source("external")
// wait for PPS edge
t = self.usrp1.get_time_last_pps()
while (t == self.usrp1.get_time_last_pps())
    pass
// set time to 0 on all devices
self.usrp1.set_time_next_pps(0.0)
self.usrp2.set_time_next_pps(0.0)
self.usrp3.set_time_next_pps(0.0)
// wait for time to get set
t = self.usrp1.get_time_last_pps()
while (t == self.usrp1.get_time_last_pps())
    pass
// set start times so the streams will start at the same time
start_time = self.usrp1.get_time_now() + uhd.time_spec_t(0.1)
self.usrp1.set_start_time(start_time)
self.usrp2.set_start_time(start_time)
self.usrp3.set_start_time(start_time)

Hope this helps.

Regards,
Michael


On Mon, Oct 19, 2015 at 4:41 PM, Nunez, Roberto via USRP-users <
usrp-users at lists.ettus.com> wrote:

> Hello everyone I am currently trying to sync 3 B210 using python to an
> external clock. I am having some serious trouble doing this. Any help would
> be much appreciated.
>
>
> Sincerely,
> Rob Mullins
> 832-704-3944
> nunezr4 at my.erau.edu
>
> _______________________________________________
> USRP-users mailing list
> USRP-users at lists.ettus.com
> http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ettus.com/pipermail/usrp-users_lists.ettus.com/attachments/20151019/d4bd5970/attachment-0002.html>


More information about the USRP-users mailing list