Hello,


I have a Linux C++ application using UHD 3.13 and an x310 USRP. Occasionally my 
host machine sends a late packet to the USRP, resulting in UHD printing an "L" 
to stdout, or the host machine drops some packets, resulting in UHD printing a 
"D" to stdout.



I would like prevent printing these messages to stdout, and instead add my own 
mechanism for tracking errors. Is there an officially support way to do this? I 
found a page about UHD logging 
(https://files.ettus.com/manual/page_logging.html), which claims "UHD itself 
never prints to stdout", which seems in conflict with the overflow notes 
documentation 
(https://files.ettus.com/manual/page_general.html#general_ounotes).



One workaround I could do is use fork() to spawn a separate process for my 
multi_usrp object and monitor its stdout/stderr from my parent application. 
Currently I create my multi_usrp object in its own thread rather than spawning 
another process, which would be preferable.



Thanks!

Richard

_______________________________________________
USRP-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to