Hi Thomas,
I use the libftdi-0.20 and use the C + + wraper, have derived a new
class from QWidget (Qt), Context (ftdi), List (ftdi).
Since (ret = gbstw -> open (0x0403, 0x6001)) was not successful, and I only use a specific ftdi device,
I ret = gbstw-> open (0x0403, 0x6001, "USB-RS485 Cable", "FTTDYZAP" , 0), and tested. Both devices (ftdi, usb) are now
open and since then it works.
! However, the feedback -1, -8 (maybe more in the "stderr") ofthe
fraptedfunctions.
Conclusion: no control over the feedback! Fallow feedback == 0, nothing
else!
ps:
ret = gbstw -> open (0x0403, 0x6001); must also work.
Cheers,
Aribert
Am 22.10.2012 12:24, schrieb Thomas Jarosch:
Hi Aribert,
On Friday, 19. October 2012 12:20:55 Aribert Börner wrote:
To implement a control I plan to use Qt as a GUI in order to send
commands via a "Profibus" (485), and events to welcome in the
field.An USB port works as an interface with Qt, I have derived the
frapted functions and it is a new class of signals and slots
created.
However, I get in contrast to the functional solution when calling
ret = gbstw -> open (0x0403, 0x6001); //(vendor-id,product-id)
I the feedback -1,: usb_find_busses () failed.
which version of libftdi are use using?
Also do you use the C++ wrapper?
May be it helps if you reduce the source of error by extending/adapting
one of the cmd line examples and try to reproduce the problem there.
Cheers,
Thomas
--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx
--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx
|