Friday, April 12, 2024

Determining number of dropped samples from USRP Sink in TX chain

Hey,

 

I’m wondering if there is any possibility to programmatically check how long an underrun event in a flowgraph that uses a USRP sink lasted.

 

I do get messages from the sink when and that an underrun happened, but I can’t see if that was for 1 ms or 20 seconds.

 

>    message_debug :warning: Message: (uhd_async_msg (channel . 0) (time_spec 1333 . 0.277859) (event_code underflow))

>    Umessage_debug :warning: Message: (uhd_async_msg (channel . 0) (time_spec 1333 . 0.280334) (event_code underflow)) 

 

When googling I find a bunch of stuff on _overruns_, but this is in the transmit path.

 

Background is that a very short underrun we can live with, but a long interruption would be bad. I don’t fancy sitting next to the USRP and staring at the LED for days…

 

Is there any way to query the USRP for further information on the event?

Thanks!

 

Med vennlig hilsen

Adrian Winter
Forsker
SINTEF Digital
Sustainable Communication Technologies


 
 

 

No comments:

Post a Comment