|
From: | Marcus Müller |
Subject: | Re: [Discuss-gnuradio] Late Packet Arrivals |
Date: | Mon, 23 Nov 2015 16:53:58 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 |
Hi Alex, right, so that's the approach of calculating tx_time based on the time of samples coming in; so if you set the start_time to that time plus a little more delay, you might be able to solve the "L" issue. I don't know how the actual calculation of your set_start_time(value) is, but chances are the program is not adding enough to the receive time, and because your computer takes more than infinitesimately little time to process RX data, the TX streamer gets its data too late. Regarding getting the current time: The rx_time/sample counting approach is definitely the right one; every other approach is inherently out of sync with the samples. Command list: You can use message passing [1] with the commands listed in [2]. The stream tags that the sink understands are documented in [3]. Best regards, Marcus [1] https://gnuradio.org/doc/doxygen/page_msg_passing.html [2] https://gnuradio.org/doc/doxygen/page_uhd.html#uhd_command_syntax [3] https://gnuradio.org/doc/doxygen/classgr_1_1uhd_1_1usrp__sink.html#uhd_tx_tagging On 23.11.2015 16:03, Alexander Levedahl
wrote:
|
[Prev in Thread] | Current Thread | [Next in Thread] |