[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss-gnuradio] Question about stream tag

From: Pan, Luyuan
Subject: [Discuss-gnuradio] Question about stream tag
Date: Thu, 24 May 2012 22:27:19 +0800
User-agent: Mozilla/5.0 (Windows NT 6.1; rv:12.0) Gecko/20120428 Thunderbird/12.0.1

    I want to use my USRP2 to implement a TDMA system, and I want to send 5 seconds, receive 5 seconds, and do the recycle. I used the stream tag demo in gr-uhd/taguhd. The question is:
1. As sean have said in http://lists.gnu.org/archive/html/discuss-gnuradio/2012-04/msg00506.html we should use "tx_time", "tx_sob" (start-of-burst), and "tx_eob" (end-of-burst) to tag the data flow, but yend B in http://www.ruby-forum.com/topic/3832986   said the data not enclosed by sob-eob tag pair was dropped. Is this problem really exist? And any solution?
2. Is there any way to switch the Tx/Rx? And how to tell the USRP to receive for a desired time slot such as 5 seconds then stop? The only parameter I can see in gr_uhd_usrp_source is 'rx_time'(tells when to start receive), I do not know how to stop the streaming after 5 seconds.
Thank you for your help. Any suggestion is appreciated.
Best regards,
Pan, Luyuan

reply via email to

[Prev in Thread] Current Thread [Next in Thread]