Dear Marcus and Rob,
The multi_usrp UHD "sink" in Gnu Radio has a "start time" parameter. But I'm not sure how this works when you're using RFNoC from within Gnu Radio.@Marcus: I think for RFNoC it is the RX-Streamer that issues the start command. The C++ implementation [1] has a method to set the start time, but it is neither exposed via the Python bindings [2], nor to GNU Radio [3]. Would it be possible to update the bindings?
Delaying the Rx Radio start time should be relatively easy to do. While I don't know how to do this from gnuradio, I do it all the time using UHD from C++. Perhaps you will have to modify the GRC generated python to do it rather than do it from GRC - not really sure.@Rob: What methods are you using to delay the start time? The same as the RX-Streamer [1] uses internally? I tried calling the RX-streamers "start" and "stop" methods, since these are accessible from python. Stopping works, but when re-starting it gives me OOOOOOOO (see below).
Best Philipp[1] https://github.com/gnuradio/gnuradio/blob/5dc195b0195e8a073b7f7c1ffd6c8c36d3bb0bd2/gr-uhd/lib/rfnoc_rx_streamer_impl.cc#L83-L93 [2] https://github.com/gnuradio/gnuradio/blob/5dc195b0195e8a073b7f7c1ffd6c8c36d3bb0bd2/gr-uhd/python/uhd/bindings/rfnoc_rx_streamer_python.cc [3] https://github.com/gnuradio/gnuradio/blob/5dc195b0195e8a073b7f7c1ffd6c8c36d3bb0bd2/gr-uhd/grc/uhd_rfnoc_rx_streamer.block.yml
******* MESSAGE DEBUG PRINT ******** ((rate_now . 1.99964e+06) (rate_avg . 1.99964e+06)) ************************************ Stopping stream rfnoc_rx_streamer :debug: UHD recv() call timed out. ******* MESSAGE DEBUG PRINT ******** ((rate_now . 666323) (rate_avg . 1.79964e+06)) ************************************ rfnoc_rx_streamer :debug: UHD recv() call timed out. rfnoc_rx_streamer :debug: UHD recv() call timed out. Starting stream rfnoc_rx_streamer :debug: Sending start stream command... OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO >>> Done ------------------------------------------------------------------------ *From:* Marcus D. Leech [mailto:patchvonbr...@gmail.com] *Date:* Monday, October 16, 2023 at 23:41 UTC+2 *Subject:* [USRP-users] Re: RFNoC Loopback with stream from host
On 16/10/2023 17:31, Rob Kossler via USRP-users wrote:The multi_usrp UHD "sink" in Gnu Radio has a "start time" parameter. But I'm not sure how this works when you're using RFNoCHi Philipp,1. Delaying the Rx Radio start time should be relatively easy to do. While I don't know how to do this from gnuradio, I do it all the time using UHD from C++. Perhaps you will have to modify the GRC generated python to do it rather than do it from GRC - not really sure.from within Gnu Radio. _______________________________________________ USRP-users mailing list -- usrp-users@lists.ettus.com To unsubscribe send an email to usrp-users-le...@lists.ettus.com
smime.p7s
Description: Kryptografische S/MIME-Signatur
_______________________________________________ USRP-users mailing list -- usrp-users@lists.ettus.com To unsubscribe send an email to usrp-users-le...@lists.ettus.com