News:

Attention: For security reasons,please choose a user name *different* from your login name.
Also make sure to choose a secure password and change it regularly.

Main Menu

USB communication error codes

Started by bmadsen, December 13, 2011, 11:03:55 AM

Previous topic - Next topic

bmadsen

Hello

We are trying to use TE0300 via USB. The function TE0300_SetData in the TE0300DLL.dll can return some error codes. So far we have figured out that 995 is a timeout, but we get the error code 31 now, and it would be really helpful to know what this error means.
In fact any documentation on the USB functions in general would be lovely.

Thanks, Bjørn

Ales Gorkic

Dear Bjoern,

The returns are standard Windows IO operation error codes. The one I know are:
      //ret=995 ERROR OPERATION ABORTED - The IO operation has been aborted because of of either a thread exit or an application request (timeout)
      //ret=31 ERROR_GEN_FAILURE - A device attached to the system is not functioning
If you get error code 31 then the device is no longer accessible.

I agree that documentation on this topic is not good. We are trying to fix this with new edition of drivers and API.

Best regards,

Ales

Thorsten Trenz


Ales Gorkic


bmadsen

Thanks a lot.

Apparently our error was fixed by unplugging and replugging the USB cable. But thanks for the references for the future.

Regards, Bjørn

Hengist

The release of the third generation Trenz Electronic USB FX2 Suite made this post obsolete. Please access current documentation and resources here: TE USB FX2 Suite.