# Timestamps USRP N210

**URL:** <https://www.ruby-forum.com/t/timestamps-usrp-n210/210277>\
**Category:** GNU Radio\
**Created:** [August 4, 2011, 2:09am UTC](https://www.ruby-forum.com/t/timestamps-usrp-n210/210277 "2011-08-04T02:09:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![luislavena](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/0ea827/32.png) [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Post date:** [August 4, 2011, 2:09am UTC](https://www.ruby-forum.com/t/timestamps-usrp-n210/210277/1 "2011-08-04T02:09:20Z")

</div>

Hello everyone,

I am currently working with multiple receivers of USRP N210s. I would  
like to correlate the received signal of multiple receivers and  
therefore require them to start sampling at the same time. Is there a  
good way to implement that?

Regarding to that issue I was curious to see sample timestamps. I have  
seen in various other threads that people have addressed this issue,  
but I could not find any detailed information on how to get exact  
(usec - nsec accuracy) timestamps. Can anyone tell me how to extract  
timestamps from the received samples? Or if I have overseen it, tell  
me where I can find that information?

Thanks,  
Sebastian

---

<div class="post-metadata">

**Author:** ![Sebastian\_Bader](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/aeb1de/32.png) [@Sebastian\_Bader](https://www.ruby-forum.com/u/Sebastian_Bader)\
**Post date:** [August 4, 2011, 2:21am UTC](https://www.ruby-forum.com/t/timestamps-usrp-n210/210277/2 "2011-08-04T02:21:43Z")

</div>

On 08/03/2011 05:08 PM, Sebastian Bader wrote:

> (usec - nsec accuracy) timestamps. Can anyone tell me how to extract  
> timestamps from the received samples? Or if I have overseen it, tell  
> me where I can find that information?

If you are looking to align multiple channels, the uhd source block will  
do that automatically when you set it up for multiple channels.

If you want the timestamps, you can use UHD directly (see the  
examples/rx\_timed\_samples.cpp).

Or from gnuradio, you can make a trivial mod to the source block’s work  
function to intercept the RX metadata and create a tag for each  
timestamp. This tag will get propagated down the chain of processing  
blocks.

-josh
