Re: [pyusb-users] Continuous monitoring of 3 USB scales

2014-11-03 Thread Ian Daniher
If you haven't already, I'd start by generating large log files of the scales interacting with the vendor-provided software. It's easy to do this on Linux using https://www.kernel.org/doc/Documentation/usb/usbmon.txt. Also, you have a USB HID device, which is a shortpath used by many vendors for "

Re: [pyusb-users] Reading RFID tag using MTI RU-824 via pylab

2014-02-08 Thread Ian Daniher
I'm personally a fan of USB in a Nutshell / http://www.beyondlogic.org/usbnutshell/usb1.shtml. If you have the source to the .NET library, you ought to be able to figure out out the supported requests. Have you emailed them for more / better documentation? On Sat, Feb 8, 2014 at 6:11 AM, Wander

Re: [pyusb-users] [EXTERNAL] Re: "No backend available" error

2011-11-29 Thread Ian Daniher
Wander, I made a SourceForge account just for you. https://sourceforge.net/apps/trac/pyusb/ticket/7 Thanks for all your work on PyUSB! On Tue, Nov 29, 2011 at 17:03, Wander Lairson Costa < wander.lair...@gmail.com> wrote: > 2011/11/29 Ian Daniher : > > Not sure what's wrong

Re: [pyusb-users] [EXTERNAL] Re: "No backend available" error

2011-11-29 Thread Ian Daniher
object is not sbuscriptable > > ** ** > > I am not sure how to solve this error. All I want to do in the end is > write the bytes 0x9F 0x02 0x05 and 0x01 to the device. Any ideas on how to > get past this? Thanks for the help by the way. > > ** ** > > Thanks

Re: [pyusb-users] "No backend available" error

2011-11-29 Thread Ian Daniher
Do you have LibUSB installed? You'll need a binary backend in addition to the Python bindings. You can follow the installation instructions located at http://sourceforge.net/apps/trac/libusb-win32/wiki. On Tue, Nov 29, 2011 at 11:11, Barney, Bryson wrote: > Hi, > > I am new here, and a new use

Re: [pyusb-users] PLEASE HELP! Software delivery due tomorrow :((

2011-11-16 Thread Ian Daniher
Safoura, Is your application code available in a git or SVN repository? Your numerous cries for help have not provided much information as to the structure of your Python + Java conglomerate software. >From the sound of it, your Java app is unable to call LibUSB on a computer with neither Python

Re: [pyusb-users] pyusb and Arduino Help

2011-11-07 Thread Ian Daniher
ivial development on the embedded side to make this happen. At that point, you might as well pick up a Teensy or one of the new XMEGA-with-USB chips and build your application from scratch. Regards, -- Ian On Mon, Nov 7, 2011 at 06:16, Mac Ryan wrote: > On Sat, 5 Nov 2011 22:08:17 -0400 >

Re: [pyusb-users] pyusb and Arduino Help

2011-11-05 Thread Ian Daniher
Out of the box, the Uno should enumerate as a USB-serial / CDC device. You'll need to make sure the kernel doesn't have control over the device before trying to talk to it. Call device.detach_kernel_driver() before device.set_configuration(). Also, I might recommend pySerial over pyUSB for talkin

Re: [pyusb-users] PyUSB for Lego Education Product Communication-WeDO

2011-08-16 Thread Ian Daniher
Hi Safoura, Perhaps we should take this off list, but I have a few ideas. First off, you shouldn't need to touch WeDo_plugin - WeDoMore is the self-contained library. As for the distance - the WeDo is a rather tremendously shoddy piece of electronics. Distance might not work if you've recently u

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

2011-07-27 Thread Ian Daniher
ot;nrByteRead" > > Can someone look at the logs and tell me if I'm right or wrong? I think I > may still use the wrong "bConfigurationValue".. > > Thanks in advance > David > > > > Am 27.07.11 16:20, schrieb Ian Daniher: > > Have you monitored a

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

Re: [pyusb-users] PyUSB for Lego Education Product Communication-WeDO

2011-06-17 Thread Ian Daniher
Glad to hear it helped. Best of luck! On Thu, Jun 16, 2011 at 12:29, Safoura wrote: > Ian Daniher writes: > > > > > > > It looks like you're using the code on Windows, a platform I didn't > especially > design for. That being said, it would appear that

Re: [pyusb-users] PyUSB for Lego Education Product Communication-WeDO

2011-06-10 Thread Ian Daniher
0, 2011 at 10:49, Safoura wrote: > Ian Daniher writes: > > > > > > > I wrote a python library to do exactly this. > See https://github.com/itdaniher/WeDoMore for details. > > > > Additionally, it integrates with TurtleArt, the opensource project by > PICO &a

Re: [pyusb-users] PyUSB for Lego Education Product Communication-WeDO

2011-06-09 Thread Ian Daniher
I wrote a python library to do exactly this. See https://github.com/itdaniher/WeDoMore for details. Additionally, it integrates with TurtleArt, the opensource project by PICO & Walter Bender. Best, -- Ian On Thu, Jun 9, 2011 at 15:49, Safoura Seddighin wrote: > Hi > I am new to PyUSB and trying

Re: [pyusb-users] Windows Error

2011-05-30 Thread Ian Daniher
If you're running on Windows 7, you probably need to create a .ini with libusb and may need to run your app as administrator. On Mon, May 30, 2011 at 09:36, wander.lairson wrote: > 2011/5/30 Vishwanath Saragadam : > > Hi, > >I am new to Pyusb as well as python.I am trying a simple usb > > com