Re: [pyusb-users] Reading data from a USB-scale via pyUSB

2011-07-27 Thread David Brunnthaler
So you would suggest, that I use the Virtual COM Port Driver (http://www.ftdichip.com/Drivers/VCP.htm) instead of the D2XX Direct Driver (http://www.ftdichip.com/Drivers/D2XX.htm) I'm currently using? Does this matter at all? Problem is I'm a novice when it comes to setting up a usb or serial

Re: [pyusb-users] Reading data from a USB-scale via pyUSB

2011-07-27 Thread Ian Daniher
If you're using a RS232-USB adapter, PyUSB may not work, as the other driver is likely blocking. Additionally, the "pyserial" library may be of more use, sparing you a layer of abstraction. On Wed, Jul 27, 2011 at 15:58, David Brunnthaler wrote: > Thanks for your replies. > > First of all: I'm

Re: [pyusb-users] Reading data from a USB-scale via pyUSB

2011-07-27 Thread David Brunnthaler
Thanks for your replies. First of all: I'm using the official drivers from that RS232 <-> USB adapter (http://www.ftdichip.com/Drivers/D2XX.htm) I monitored the USB transfer with wireshark and you can see part of the compressed output here: http://pastebin.com/4jf79vGQ And if you want you c

Re: [pyusb-users] Reading data from a USB-scale via pyUSB

2011-07-27 Thread Wander Lairson Costa
2011/7/27 David Brunnthaler : > Hello, > > I'm right now trying to get pyUSB to read from my usb-scale but i'm running > into some issues there. > > My python code: http://paste.pound-python.org/show/10095/ > and my output: http://paste.pound-python.org/show/10096/ > > As you can see, it just stops

Re: [pyusb-users] Reading data from a USB-scale via pyUSB

2011-07-27 Thread Ian Daniher
Have you monitored a USB transfer with the scale using its original driver? I suggest the 'usbmon' kernel module. Use Wine or a VM if it's a windows-only app. On Wed, Jul 27, 2011 at 08:10, David Brunnthaler wrote: > Hello, > > I'm right now trying to get pyUSB to read from my usb-scale but i'm

[pyusb-users] Reading data from a USB-scale via pyUSB

2011-07-27 Thread David Brunnthaler
Hello, I'mright now trying to get pyUSB to read from my usb-scale but i'm running into some issues there. My python code: http://paste.pound-python.org/show/10095/ and my output: http://paste.pound-python.org/show/10096/