discuss-gnuradio
[Top][All Lists]
Advanced

[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: Josh Blum
Subject: Re: [Discuss-gnuradio] UHD: "set_time_now" and "get_time_now" in multi_usrp
Date: Wed, 27 Oct 2010 08:43:54 -0700
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.11) Gecko/20101006 Thunderbird/3.1.5

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]