discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] Getting Time Stamps From an x310 in C++


From: Martin Braun
Subject: Re: [Discuss-gnuradio] Getting Time Stamps From an x310 in C++
Date: Thu, 7 Jul 2016 10:03:41 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.8.0

On 07/06/2016 11:34 PM, Robert Kraml wrote:
> Thank you Martin.
> 
> This one looks like it will involve some research.  If I have time I'll
> pursue it.  In the meantime if anyone has some C++ example code that
> shows how an application might extract time tags, I would be grateful.

The header_payload_demux does literally exactly that. In C++.

M
> 
> -Bob
> 
> On 7/6/2016 5:58 PM, Martin Braun wrote:
>> USRPs will only output timestamps at the beginning of streaming, or when
>> time skips (e.g. after an overrun). You can keep track of time by
>> counting samples in between timestamp tags.
>>
>> See the header_payload_demux block for an example of how to keep track
>> of time. Also, check out the gr-uhd manual for an explanation of the
>> tags it uses, e.g.
>> http://gnuradio.org/doc/doxygen/classgr_1_1uhd_1_1usrp__source.html.
>> M
>>
>> On 07/06/2016 04:27 PM, Robert Kraml wrote:
>>> I have a C++ implemented flow-graph that acquires 3 channels at a sample
>>> rate of 5 MHz.  There are a couple of decimation stages with the
>>> resultant n a number of 250 Hz output channels.  How is the best way to
>>> access the associated time stamps.  I wouldn't need every time stamp,
>>> just perhaps one every second or so and the rest would be interpolated.
>>> Might there be some c++ examples of how this would be best done?
>>>
>>> -Bob
>>>
>>>
>>> _______________________________________________
>>> Discuss-gnuradio mailing list
>>> address@hidden
>>> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>>>
>>
>> _______________________________________________
>> Discuss-gnuradio mailing list
>> address@hidden
>> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>>
>>
> 
> 
> _______________________________________________
> Discuss-gnuradio mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio




reply via email to

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