[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] UHD: "set_time_now" and "get_time_now" in multi_u
From: |
Per Zetterberg |
Subject: |
Re: [Discuss-gnuradio] UHD: "set_time_now" and "get_time_now" in multi_usrp |
Date: |
Wed, 27 Oct 2010 21:12:13 +0200 |
Yes it could be useful when debugging the setup. However, it can't be
used to verify sample-level sync.
BR/
Per
On Wed, 2010-10-27 at 08:43 -0700, Josh Blum wrote:
> get_time_now() returns the time on the 0th motherboard in the
> configuration. The only reason you might want to read the time on a
> particular board in the configuration is to test for sync.
>
> There is some logic already in the set_time_unknown_pps() to check for
> sync. Would that be useful to be brought out as a "bool
> is_time_synced()" method?
>
> http://code.ettus.com/redmine/ettus/projects/uhd/repository/revisions/master/entry/host/lib/usrp/multi_usrp.cpp#L143
>
> _josh
>
> On 10/27/2010 03:35 AM, Per Zetterberg wrote:
> > I realize that a "set_time_now" in multi_usrp would be dubious because
> > without any PPS all USRPs would have somewhat different times (maybe on
> > the order of microseconds to milliseconds). This is (typically) not
> > enough for MIMO applications.
> > However, if one is aware of this fact it can be useful. It means for
> > instance that one can verify that multi-usrp reception works even
> > without having set up PPS.
> >
> > BR/
> > Per
> >
> >
> > On Wed, 2010-10-27 at 11:40 +0200, Per Zetterberg wrote:
> >> Hi Josh and List,
> >>
> >> There is no set_time_now in multi_usrp. When I use get_time_now which
> >> USRP2 do I get the time of ?
> >>
> >> BR/
> >> Per
> >>
> >>
> >> _______________________________________________
> >> Discuss-gnuradio mailing list
> >> address@hidden
> >> http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
> >
> >
> >
> > _______________________________________________
> > Discuss-gnuradio mailing list
> > address@hidden
> > http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>
> _______________________________________________
> Discuss-gnuradio mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/discuss-gnuradio