Menu

USB freeze after read error

Help
2008-07-24
2012-12-06
  • Jorge Ferrera

    Jorge Ferrera - 2008-07-24

    Hi folks,

    Well, I can write and receive data from an oscilloscope, but sometimes when I make a mistake, ask for a question without a write before, my interface freeze with a error and I cant do anything more, write or read. Then I have to replug my oscilloscope to restart my comunication. Try to close or reset dont make difference. Someone knows why this happen? Can I recovery my comunication without replug?

    This is my error: ch.ntb.usb.USBTimeoutException: LibusbJava.usb_interrupt_read: usb_reap: timeout error <- then I have to replug.

    Thanks in advanced for the replies and thanks² for the wrapper ;)

    bye bye

    Jorge.

     
    • Jorge Ferrera

      Jorge Ferrera - 2008-07-25

      Hi again,

      I discovered the problem, I programming in Java, then after a error my implementation catch the error and jump my reset method, I put a new reset method after a error too and now that is work good :)

      Bye bye

       
      • andi

        andi - 2008-07-25

        Hi Jorge

        Thanks for posting back your solution to the problem...
        It would be a device error if the device doesn't reset when you want it to reset...

        Regards, Andi

         

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.