From: David B. <da...@i-...> - 2011-07-27 13:28:53
|
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/ <http://paste.pound-python.org/show/10095/> and my output: http://paste.pound-python.org/show/10096/ <http://paste.pound-python.org/show/10096/> As you can see, it just stops at line 49 of the code. In the Tutorial (http://pyusb.sourceforge.net/docs/1.0/tutorial.html#how-am-i-supposed-to-work) it says you first have to issue a "set_configuration" request. I tried all three different methods (line 31, line 33 and lines 35 to 37) but it always tells me: http://paste.pound-python.org/show/10097/ <http://paste.pound-python.org/show/10097/> Any idea what I'm doing wrong, or how I can establish a successful connection? Thanks in advance David -- david brunnthaler da...@i-... austria |