From: Xiaofan C. <xia...@gm...> - 2016-02-16 07:57:03
|
On Tue, Feb 16, 2016 at 3:37 PM, <iov...@gm...> wrote: > Dear list members > > I am a very novice and inexperienced user and I apologize in advance for > what may seem an abomination in the land of python and serial interfaces. > > I need to drive a USB device (valve controller) which is operated by > d2xx type ftdi driver. > > I installed python 2.6 and original PyUSB module > http://bleyer.org/pyusb/ > > is it the same PyUSB that is discussed here? No. This pyusb is for Python binding of libusb-0.1, libusb-1.0 and OpenUSB. https://github.com/walac/pyusb I think that PyUSB for D2XX is no longer supported by its author and you'd better to switch to other versions. Maybe this one? https://github.com/snmishra/ftd2xx Or you can forget about d2xx and use pylibftdi or pyftdi. https://bitbucket.org/codedstructure/pylibftdi https://github.com/eblot/pyftdi -- Xiaofan |