discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] PPS + timestamps used in Python ?


From: Josh Blum
Subject: Re: [Discuss-gnuradio] PPS + timestamps used in Python ?
Date: Tue, 11 Oct 2011 14:42:17 -0700
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.23) Gecko/20110922 Lightning/1.0b2 Thunderbird/3.1.15


On 10/11/2011 01:51 PM, Yan Nie wrote:
> Dear all
> 
> I suppose to use GNURadio on USRP N200 + UHD to build a transmitter
> synchronized with another device used as a receiver via GPS. As
> posted on UHD website, PPS signal feeding in USRP N200 could be used
> for timestamp  synchronization. In the mailing list, it is said such
> tagging interface as timestamp, end of burst is written in C++ at
> some level. I am wondering if this timestamp tag could be used in
> Python by directly calling 
> usrp.set_time_unknown_pps(time_spec_t(0.0))? Any response would be
> greatly appreciated!
> 

You can call all usrp.set_time* API calls to set the device time.
However, this has nothing to do with stream tags.
http://files.ettus.com/uhd_docs/manual/html/sync.html#synchronizing-the-device-time

Also, you can use my grblock work to write blocks in python and to
read/write tags. See the examples/tags_demo.py for a use case.
https://github.com/guruofquality/grblock

-Josh



reply via email to

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