> I am using an automatic power supply which has FTDI interface to talk to it.
> I need to read the voltage and current details from it and also write data
> to it for controlling the power supply.

So if my understanding is correct, you are using the FTDI device as a
simple USB-to-serial converter, am I right ?

> Could you help me with api's which could perform the above task please?

With the pyserial wrapper for pyftdi, it would be as simple as the
following code snippet:

# assuming your using a FT2232 and the first COM port is connected
serialclass(port='usb://ftdi:ft2232/1')
port = serialclass.open()
port.write()
port.read()
port.close()

However, I'm not (yet) able to run libusb/pyusb on Windows...

Cheers,
Manu

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
pyusb-users mailing list
pyusb-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pyusb-users

Reply via email to