On 04/23/2012 08:14 AM, Nowlan, Sean wrote:
> In my case, I modified the stream tag example under gr-uhd/examples
> to make a "burst_tagger" block. I kept the work function essentially
> the same since it already handles bursting for a specified duration
> and repeats this behavior over a specified cycle time. This method of
> bursting works nicely. The stream tags you need to care about are
> called "tx_time", "tx_sob" (start-of-burst), and "tx_eob"
> (end-of-burst), respectively. These tags are affixed in the work
> function of the stream tags example mentioned above. The
> gr_uhd_usrp_sink block already has the logic to translate these tags
> into UHD commands, so you shouldn't need to worry about that.
> 
> I don't think you can do this from Python yet, but I could be wrong
> about that.
> 

Not yet, but here are the docs for it:
http://gnuradio.org/redmine/projects/gnuradio/wiki/BlocksCodingGuide#Stream-Tags

This branch has the python support:
https://github.com/guruofquality/gnuradio/tree/python_blocks2

-josh

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

Reply via email to