[prev in list] [next in list] [prev in thread] [next in thread] 

List:       usrp-users
Subject:    [USRP-users] Adding Timestamps to B210 RX Samples
From:       Alex Bouvy via USRP-users <usrp-users () lists ! ettus ! com>
Date:       2021-06-21 22:24:37
Message-ID: BYAPR06MB53523BE92F6B1451D1BD12BDD90A9 () BYAPR06MB5352 ! namprd06 ! prod ! outlook ! com
[Download RAW message or body]

Hello,

In the paper below, the authors say that they have set up their USRP device=
 to include timestamps for each recorded sample, but do not provide detail =
on how this was achieved:

https://ieeexplore.ieee.org/document/6533293

I have been looking into what is required to achieve something similar. Par=
ticularly, I have been working with the source code of the rx_timed_samples=
.cpp example provided in the UHD files, along with this page in the Ettus m=
anual:

https://files.ettus.com/manual/page_sync.html

Looking through the rx_timed_samples code, it appears that the metadata ass=
ociated with the recv(..) function contains a time_spec field which is the =
timestamp for the first sample in the IO stream, but it's not immediately c=
lear to me how that might be used to timestamp all of the samples, which ma=
kes me think this may be the wrong approach. Is there a simpler method to d=
o this that is known?

Tangentially, I've also looked into adding the timestamps through GNURadio,=
 but there does not appear to be a way to do this as far as I can tell.

Any help is much appreciated.

Thank you,
Alex

[Attachment #3 (text/html)]

<html xmlns:v="urn:schemas-microsoft-com:vml" \
xmlns:o="urn:schemas-microsoft-com:office:office" \
xmlns:w="urn:schemas-microsoft-com:office:word" \
xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" \
xmlns="http://www.w3.org/TR/REC-html40"> <head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:DengXian;
	panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:"\@DengXian";
	panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	font-size:11.0pt;
	font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:#0563C1;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Calibri",sans-serif;
	color:windowtext;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-family:"Calibri",sans-serif;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal">Hello,<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">In the paper below, the authors say that they have set up their \
USRP device to include timestamps for each recorded sample, but do not provide detail \
on how this was achieved:<o:p></o:p></p> <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal"><a \
href="https://ieeexplore.ieee.org/document/6533293">https://ieeexplore.ieee.org/document/6533293</a><o:p></o:p></p>
 <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">I have been looking into what is required to achieve something \
similar. Particularly, I have been working with the source code of the \
rx_timed_samples.cpp example provided in the UHD files, along with this page in the \
Ettus manual:<o:p></o:p></p> <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal"><a \
href="https://files.ettus.com/manual/page_sync.html">https://files.ettus.com/manual/page_sync.html</a><o:p></o:p></p>
 <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">Looking through the rx_timed_samples code, it appears that the \
metadata associated with the recv(..) function contains a time_spec field which is \
the timestamp for the first sample in the IO stream, but it&#8217;s not immediately \
clear to me  how that might be used to timestamp all of the samples, which makes me \
think this may be the wrong approach. Is there a simpler method to do this that is \
known? <o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">Tangentially, I&#8217;ve also looked into adding the timestamps \
through GNURadio, but there does not appear to be a way to do this as far as I can \
tell.<o:p></o:p></p> <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">Any help is much appreciated. <o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">Thank you,<o:p></o:p></p>
<p class="MsoNormal">Alex<o:p></o:p></p>
</div>
</body>
</html>



_______________________________________________
USRP-users mailing list -- usrp-users@lists.ettus.com
To unsubscribe send an email to usrp-users-leave@lists.ettus.com

--===============3999304862337882303==--

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic