[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] How to implement a TDMA system
From: |
Josh Blum |
Subject: |
Re: [Discuss-gnuradio] How to implement a TDMA system |
Date: |
Mon, 23 Apr 2012 09:59:49 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20120310 Thunderbird/11.0 |
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