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
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
Hi,
API Documentation is here:
http://docs.trenz-electronic.de/Trenz_Electronic/products/TE03xx/documents/UM-TE_USB_API.pdf
We will add error codes soon.
best regards
Thorsten Trenz
Hi,
Here are the error codes listed:
http://msdn.microsoft.com/en-us/library/windows/desktop/ms681382%28v=vs.85%29.aspx
Best regards,
Ales
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
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 (https://wiki.trenz-electronic.de/display/TEUSB/).