Hello Richard,
For RX / "O":
you can observe the RX timestamps (key: rx_time) in tags, and compare with the last tag
you saw, to check whether the difference of `rx_time` value times the sampling rate is the
same as the difference in tag offset (i.e., sample number on which the tag was).
For both TX / "U" and RX / "O":
The USRP source and sinkl blocks have an "async_msg" message output , which will give you
message dicts that (pseudocoding this):
{ "uhd_async_msg" { "channel" : 0 , "time_spec" : [0, 0.0713], "event_code":
"underflow" } }
Best,
Marcus
On 21.04.23 09:08, Richard Bell wrote:
Hello,
I have a python flowgraph that transmits data from one radio to another for a research
project. Sometimes during one of these tx/rx events, U's or O's will occur, making the
data invalid. I would like to monitor the USRP for these events from within Python so I
can request a retransmit when they occur.
How do I monitor for O's and U's from within Python?
Thank you,
Richard