Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Pyusb freeze when using Dev.read(nr,nr,timeout=1000)
Post: RE: Pyusb freeze when using Dev.read(nr,nr,timeout...

Heres the output from python about the device: INTERFACE 0: Human Interface Device ====================     bLength            :    0x9 (9 bytes)     bDescriptorType    :    0x4 Interface     bInterf...
bojane General Coding Help 3 7,551 Jan-11-2017, 10:17 AM
    Thread: Pyusb freeze when using Dev.read(nr,nr,timeout=1000)
Post: RE: Pyusb freeze when using Dev.read(nr,nr,timeout...

Well, why do python freeze when I call: self.dev2.read(self.endpoint2.bEndpointAddress,self.endpoint2.wMaxPacketSize,timeout=120)  ? What can I do to find out ? The call is in function: readUsbDPS()  ...
bojane General Coding Help 3 7,551 Jan-11-2017, 07:26 AM
    Thread: Pyusb freeze when using Dev.read(nr,nr,timeout=1000)
Post: Pyusb freeze when using Dev.read(nr,nr,timeout=100...

Shouldn't timeout release after 1sek ? As of now the code just halt with no error or anything.
bojane General Coding Help 3 7,551 Jan-10-2017, 07:15 PM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020