Sylvain thank you for your reply,

Ok, what about the python script in my previous message? How can I write my
code in order to prevent the LIB_USB_ERROR_PIPE message. No matter how I
stop the gnuradio script (e.g. catch keyboard interrupt and issue stop()
and wait as in my original post), I always get the same message. My
intuition due to that is that something is not cleaned up properly in UHD
level. Any suggestions on that?

Best regards
Lefteris

On Wed, Nov 5, 2014 at 12:52 PM, Sylvain Munaut <[email protected]> wrote:

> > After this point the only thing that I can do is remove and re-insert the
> > USB from the computer in order for my script to work. I assume this is
> not
> > normal behavior (and also not a programming error) because this is a
> minimum
> > working example, and its not working.
>
> There is literally nothing GNURadio can do about this.
>
> When you press the 'red cross' button, it _kills_ the whole process
> (SIGKILL), a process cannot catch this signal, nor do anything about
> it (i.e. not a single instruction of gnuradio will execute after this)
>
> At this point, it's up to the operating system to clean up any state
> of the process ...
>
>
> Cheers,
>
>    Sylvain
>



-- 
Eleftherios(Lefteris) Kampianakis
Electronics and Computer Engineer
PHD Candidate and Researcher at Sensing Computing Communications Group
(SGCC)
Department of Electrical Engineering
University of Washington
3927 Adams Lane, NE, Mercer Court D805B, 98105
website: http://staff.washington.edu/ekampian/
<http://users.isc.tuc.gr/~ekabianakis/>
mail: [email protected]
_______________________________________________
Discuss-gnuradio mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to