Wednesday, October 6, 2010

Re: [Discuss-gnuradio] Need help: How to extract timestamps of data for UHD mimo source block?

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

_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio

No comments:

Post a Comment