Re: [pyusb-users] Need Help Please

2020-11-16 Thread Nicolas Pinault via pyusb-users
Hi, On Windows, for HID devices, I use a dedicated HID library : https://github.com/rene-aguirre/pywinusb Nicolas Le 13/11/2020 à 07:50, John Beamish a écrit : Hi I am trying to use a USB port to talk to a 18F46K20 pic controller. The project, which is in the early stages, wi

Re: [pyusb-users] Writing and reading hexadecimal command

2019-11-21 Thread Nicolas Pinault via pyusb-users
PACKET = '\xf5\xfa\x01\x01\x00\x00\xfe\x0f' correct ? (I doubt it is). Again, sorry for the "messy" code, and thanks for any answer provided. Best regards Raphaël > Message du 21/11/19 10:11 > De : "Nicolas Pinault via pyusb-users&quo

Re: [pyusb-users] Writing and reading hexadecimal command

2019-11-21 Thread Nicolas Pinault via pyusb-users
Bonjour Raphaël, You do not provide enought information. Can you provide a link to the DP5 documentation ? Can you provide a small code sample ? Bonne journée, Nicolas Le 21/11/2019 à 09:43, raphael moreau a écrit : Good morning pyusb users, I'm writing you this emial because I'm facing an

Re: [pyusb-users] UNICODE ERROR while writing text in endpoint

2016-12-22 Thread Nicolas Pinault
Hi, Le 21/12/2016 à 18:18, Mayur Vijaywargi a écrit : Hi, I am getting this kind of error "'ascii' codec can't encode character u'\u010c' in position 6: ordinal not in range(128)" This the code I am using to search endpoint to write: def get_device(vid, pid, backend_driver=None): if back

Re: [pyusb-users] Can't still not read Digital Multimeter USB output

2016-09-15 Thread Nicolas Pinault
Le 16/09/2016 à 01:21, Joe a écrit : > Am 15.09.2016 um 12:11 schrieb Joe: What's the best method to install it? >> Solved: pip install hidapi >> > This is now working with the usb hid interface of the UT61B DMM: > hid.device.get_manufacturer_string, > hid.device.get_product_string, > hid.devi

Re: [pyusb-users] Can't still not read Digital Multimeter USB output

2016-09-15 Thread Nicolas Pinault
Le 15/09/2016 à 11:48, Joe a écrit : Am 15.09.2016 um 09:01 schrieb Nicolas Pinault: Under Windows, USB HID devices have to be accessed through the HID API, not the USB API. This means you can't use PyUSB with HID devices under Windows. Try this package : https://pypi.python.org/pypi/hid/

Re: [pyusb-users] Can't still not read Digital Multimeter USB output

2016-09-15 Thread Nicolas Pinault
Under Windows, USB HID devices have to be accessed through the HID API, not the USB API. This means you can't use PyUSB with HID devices under Windows. Try this package : https://pypi.python.org/pypi/hid/0.1.1 Nicolas

Re: [pyusb-users] Digital Multimeter Output

2016-09-02 Thread Nicolas Pinault
-- ___ pyusb-users mailing list pyusb-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pyusb-users . -- *Nicolas PINAULT R&D electronics engineer *** nico...@aaton.com <mailto:nic

Re: [pyusb-users] USB topology

2016-05-16 Thread Nicolas Pinault
Le 13/05/2016 à 17:36, Jeffrey Nichols a écrit : > On 5/13/2016 10:39 AM, Nicolas Pinault wrote: >> Le 13/05/2016 à 15:10, Jeffrey Nichols a écrit : >> I already tried to use "port_numbers" but this field was always blank. >> After updating libusb-1.0, this field i

Re: [pyusb-users] USB topology

2016-05-13 Thread Nicolas Pinault
Le 13/05/2016 à 16:39, Nicolas Pinault a écrit : Le 13/05/2016 à 15:10, Jeffrey Nichols a écrit : On 5/13/2016 9:03 AM, Nicolas Pinault wrote: Le 12/05/2016 à 17:15, Wander Lairson Costa a écrit : 2016-05-12 11:40 GMT-03:00 Nicolas Pinault: Hi, Is it possible to retrieve USB bus topology

Re: [pyusb-users] USB topology

2016-05-13 Thread Nicolas Pinault
Le 13/05/2016 à 15:10, Jeffrey Nichols a écrit : On 5/13/2016 9:03 AM, Nicolas Pinault wrote: Le 12/05/2016 à 17:15, Wander Lairson Costa a écrit : 2016-05-12 11:40 GMT-03:00 Nicolas Pinault: Hi, Is it possible to retrieve USB bus topology with PyUSB ? Yes, you will need to use the Device

Re: [pyusb-users] USB topology

2016-05-13 Thread Nicolas Pinault
Le 12/05/2016 à 17:15, Wander Lairson Costa a écrit : 2016-05-12 11:40 GMT-03:00 Nicolas Pinault : Hi, Is it possible to retrieve USB bus topology with PyUSB ? Yes, you will need to use the Device object "port_number" and "bus" properties. While it is enough for my appl

[pyusb-users] USB topology

2016-05-12 Thread Nicolas Pinault
Hi, Is it possible to retrieve USB bus topology with PyUSB ? Regards, Nicolas -- *Nicolas PINAULT R&D electronics engineer *** nico...@aaton.com <mailto:nico...@aaton.com> *AATON-Digital* 38000 Grenoble - France Tel +33 4 7642 9550 http://www.aaton.com http://www.transvideo

Re: [pyusb-users] Problem accessing USB device

2016-01-28 Thread Nicolas Pinault
cerns across all supported platforms." Nicolas Le 28/01/2016 08:21, Nicolas Pinault a écrit : Hi, I'm trying to use a USB device under Windows7x64. The device is HID like with custom protocol. The USB device is recognised by Windows as a HID device (without error nor warning shown is

[pyusb-users] Problem accessing USB device

2016-01-27 Thread Nicolas Pinault
ck raise USBError(_strerror(ret), ret, _libusb_errno[ret]) usb.core.USBError: [Errno 22] Invalid parameter As I am far from a USB ninja, I spent days documenting myself and searching the Internet for a solution without success. What's wrong with my code ? Nicolas -- *Nicolas PINAULT