|
From: | Hoang Ngo Khac |
Subject: | Re: [Discuss-gnuradio] How to start with stream tags |
Date: | Thu, 24 Apr 2014 00:12:53 +0700 |
Hi Hoang,
aha! Now you're mentioning USRPs, we know what platform type you refer to. What USRP are you using?
1. as you can see, these instructions belong into the work function of a block that you write. You'll have to work through the GNU Radio guides on the gnuradio.org start page, after which you'll be able to design your own functionality.
2. ?
3. The USRP sink only sends the samples to the device; there is no data in the sample stream (which I hope you understand, if you've understood Tom's presentation -- you can query if there are tags for a specific sample range, but there is no in-band data added).
All in all, it seems you're at the very beginning of understanding GNU Radio, and you've picked up that stream tags might be a suitable tool for you. They are, but you need some experience writing basic GNU Radio applications before you can use them.
Although that is currently work in progress, so far you can not instruct the USRP sink using stream tags -- the USRP source just adds a rx_time tag on certain events.
Hope that was a little insightful,
Greetings,
Marcus
On 04/23/2014 06:41 AM, Hoang Ngo Khac wrote:
Thank you Mr. Newman,
I've read (1) GNU Radio Manual on stream tags, (2) slides of Tom Rondeau and (3) Block Coding Guide about stream tags in http://gnuradio.org/redmine/projects/gnuradio/wiki/BlocksCodingGuide#Stream-Tags. They are general and I would like to find some specific example. Anyway, I have some questions.
1. In (3), they give the example codes for reading/writing stream tags. Where should these codes be inserted?
3. sob and eob are inserted to the data frame. Does the USRP Sink remove these redundant data before transmitting?
Best Regards,Hoang
On Tue, Apr 22, 2014 at 9:27 PM, Tim Newman <address@hidden> wrote:
Try:
or
or even
On Tue, Apr 22, 2014 at 6:29 AM, Hoang Ngo Khac <address@hidden> wrote:
_______________________________________________Thank you so much.My question is, how should I start to learn about stream tags, where can I find tutorial of stream tags?Dear List,I want to make time synchronization for implementation of two-way relaying network. Each node contain both RX chain and TX chain but they should not run simultaneously (half-duplex mode). Therefore, the TX chain is on when it is needed to transmit, and off when the transmission is over. I found that stream tags is the key solution to perform that.
Best Regards,
Hoang
--
Ngo Khac Hoang
Faculty of Electronics and Telecommunications -University of Engineering and Technology (UET) - Vietnam National University, Hanoi (VNU)Vice-president of Student Association of UETAlternative email: address@hiddenMobilephone: +84.163.682.7874
Discuss-gnuradio mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
--
Ngo Khac Hoang
Faculty of Electronics and Telecommunications -University of Engineering and Technology (UET) - Vietnam National University, Hanoi (VNU)Vice-president of Student Association of UETAlternative email: address@hiddenMobilephone: +84.163.682.7874
_______________________________________________ Discuss-gnuradio mailing list address@hidden https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
_______________________________________________
Discuss-gnuradio mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Prev in Thread] | Current Thread | [Next in Thread] |