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

_______________________________________________
Discuss-gnuradio mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to