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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
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
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