Monday, May 30, 2011

Re: [Discuss-gnuradio] fusb: (rd status -2) No such file or directory

Hello Brett,
please use "Reply All" when answering, or send it only to the
mailinglist. But don't send it only to me.

Of course I inserted unlock somewhere after lock. Also you have to
replace tb.run() with tb.start().

Johannes

2011/5/30 Brett L. Trotter <blt@webtrotter.com>:
> On 05/30/2011 07:13 AM, Johannes Schmitz wrote:
>> In your gnuradio generated code you use run() instead of start()
>> method and you forgot to put unlock().
>> After changing this it crashes with fusb error.
> most of that was actually generated by GRC, I only added a few lines:
>
>       print "Flowgraph finished, calling lock"
>       tb.lock()
>       print "Calling stop"
>       tb.stop()
>
> Where did you insert unlock()?
>

_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

No comments:

Post a Comment