|
From: | Josh Blum |
Subject: | Re: [Discuss-gnuradio] Need help: How to extract timestamps of data for UHD mimo source block? |
Date: | Wed, 06 Oct 2010 10:22:10 -0700 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.12) Gecko/20100915 Thunderbird/3.0.8 |
On 10/06/2010 04:24 AM, Hongliang Zhang wrote:
Hi everyone, I set up 4 USRP2 boards for MIMO receiver system for array antennas, and use the PPS signal to synchronise them. I wish to collect the data from the boards as well as the associated timestamps for the four boards. Could someone teach me how to read the time stamps from a UHD mimo source block? Do I need to modify the block in C++ or Python scripts?
The timestamps are inside the metadata, they are discarded in the work function: http://gnuradio.org/cgit/gnuradio.git/tree/gr-uhd/lib/uhd_mimo_source.cc?h=next#n127
You will need to modify the mimo source c++ and find a place to store the timestamps, or write a c++ app that calls into the UHD mimo_usrp interface directly.
-Josh
Thanks so much for every help and suggestions.:clap: Best regards, Hongliang
[Prev in Thread] | Current Thread | [Next in Thread] |