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 "
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
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
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
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
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
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
>
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
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
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
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
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
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
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
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
15 matches
Mail list logo