Hello James, Unfortunately, the Replay block doesn't currently support timed commands, so the behavior you saw is expected. This is something that we have discussed as a future improvement. In the mean time, I think that your Verilog modifications might be the right approach.
Thanks, Wade On Tue, Feb 5, 2019 at 1:52 PM Xingjian Chen via USRP-users < usrp-users@lists.ettus.com> wrote: > Hi, > Is there any method can control the timing for the RFNOC Replay Block in > X310? > I tried adding time spec but the transmitter failed to start. In fact, as > long as I set "stream_cmd.stream_now = false;" then, the transmitter > will not turn on unless set it back to true and power restart the X310. > > stream_cmd.time_spec = tx_radio_ctrl->get_time_now() + > uhd::time_spec_t(2.0 ); > replay_ctrl->issue_stream_cmd(stream_cmd, replay_chan); > > > Also, I tried using timed command, but no luck. > The goal of the project is to transmit and receive pulses at the same time > and get the timing well controlled. We succeeded in doing so by having a > clock trigger in the Verilog file. I am wondering if it is possible by just > using UHD command in c++ level to align transmitter and receiver in time. > Thank you for your time. > > James > _______________________________________________ > USRP-users mailing list > USRP-users@lists.ettus.com > http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com >
_______________________________________________ USRP-users mailing list USRP-users@lists.ettus.com http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com