[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Discuss-gnuradio] Work on USRP source and sink stream tagging for gr-uh
From: |
Josh Blum |
Subject: |
[Discuss-gnuradio] Work on USRP source and sink stream tagging for gr-uhd |
Date: |
Thu, 22 Sep 2011 20:20:52 -0700 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.21) Gecko/20110831 Lightning/1.0b2 Thunderbird/3.1.13 |
I have been working on support of tag handling for the USRP source and
sink blocks in gr-uhd. I will be adding some test and example code, but
if anyone cares to experiment, see my uhd_features branch on jblum.git
http://gnuradio.org/cgit/jblum.git/log/?h=uhd_features
Rather than describe, its easier to paste these excerpts from the docs:
* RX Stream tagging:
*
* The following tag keys will be produced by the work function:
* - pmt::pmt_string_to_symbol("rx_time")
*
* The timstamp tag value is a pmt tuple of the following:
* (uint64 seconds, and double fractional seconds).
* A timestamp tag is produced at start() and after overflows.
* TX Stream tagging:
*
* The following tag keys will be consumed by the work function:
* - pmt::pmt_string_to_symbol("tx_sob")
* - pmt::pmt_string_to_symbol("tx_eob")
* - pmt::pmt_string_to_symbol("tx_time")
*
* The sob and eob (start and end of burst) tag values are pmt booleans.
* When present, burst tags should be set to true (pmt::PMT_T).
*
* The timstamp tag value is a pmt tuple of the following:
* (uint64 seconds, and double fractional seconds).
-Josh
- [Discuss-gnuradio] Work on USRP source and sink stream tagging for gr-uhd,
Josh Blum <=