Will try "try" "catch"... this very well may have been a dumb question. I blame 
it on lack of sleep.
________________________________
From: [email protected] 
[[email protected]] on behalf of 
Nowlan, Sean [[email protected]]
Sent: Tuesday, May 01, 2012 9:44 PM
To: [email protected]
Subject: [Discuss-gnuradio] catching UHD errors in Python

Is there a good way to catch UHD errors in Python? I will look into 
gr_async_msg_source for handling L's, O's, U's, and S's, but how does one catch 
UHD runtime errors such as if the Ethernet cable gets disconnected from an 
N200? UHD docs describe registering a handler method but has this functionality 
been swigged into GNU radio?

Would it make sense to define a handler function in gr_uhd_usrp_{sink|source}?

Respectfully,
Sean Nowlan
_______________________________________________
Discuss-gnuradio mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to