On 25/09/2023 08:57, Devin Kelly wrote:
Hello,
I have an application where I’m sending many short bursts to a USRP
B210 using uhd::tx_streamer.send() (link below) and I occasionally set
the PPS time to 0 using set_time_last_pps.
Sometimes I set the PPS time to 0 when there’s still a burst in the
USRPs queue. When I do this the burst is transmitted much later than
I want.
Is there a way to clear the queue on the USRP or UHD? That is, if I
send a TX burst in the distant future can I cancel it before it gets
transmitted? Can I clear everything in the TX queue?
I’ve read on this list that calling the stream destructor will do
this, is that right? I’ve tried this without success.
Thanks!
Devin
This is an unusual scenario -- what is the reason for constantly
resetting the timer to zero? This is not the kind of scenario that
was contemplated in the architecture. I don't think there's a "flush
pending things in the queue" operation possible--although
I admit it might be useful.
_______________________________________________
USRP-users mailing list -- usrp-users@lists.ettus.com
To unsubscribe send an email to usrp-users-le...@lists.ettus.com