discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] Absolute time reception through python interface


From: Josh Blum
Subject: Re: [Discuss-gnuradio] Absolute time reception through python interface
Date: Fri, 11 Nov 2011 07:01:24 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1


On 11/11/2011 04:23 AM, Nicholas Lan wrote:
> Hello, 
> 
>  
> 
> I am able to use UHD C++ code to have an ettus device record data at a
> specified absolute time. I am trying to implement this functionality in
> python. I have read in a discussion topic that the recv command used in C++
> to start receiving at a specified absolute time is not implemented through
> SWIG in gnuradio and that gnuradio scheduler should be used instead. I have
> looked through the code files including 'scheduler' in gnuradio as well as
> gr_flat_flowgraph and can't see how to implement an absolute timed start
> through these codes. I also looked at gr_timer but read that this is not
> currently fully implemented. Could someone point me in the right direction
> in terms of starting reception at a specified absolute time through
> gnuradio/grc please?
> 
>  

If you use my next branch you can write blocks in python. All facilities
of tags and message passing are available in python:
http://gnuradio.org/redmine/projects/gnuradio/wiki/WriteBlocksInPython

Also, look at gr-uhd/examples/tags_demo.cc for an example of how to
intercept and use the tags.

-josh



reply via email to

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