> $ python
>>> import ctypes
>>> import ctypes.util
>>> ctypes.util.find_library('libusb-1.0')
> Does it work on your environment?
No. But it does give a hint!
=
Traceback (most recent call last):
File "", line 1, in
File
"/System/Library/Frameworks/Python.framework/Ver
Mark--
To add to Ian's response, the HID POS Usage Tables (
http://www.usb.org/developers/hidpage/pos1_02.pdf) will help you decipher
what the HID kernel module is telling you. Check out "Section 4 Weighing
Devices (0x8D)" for the Report IDs, which will put context to the data that
you receive fro
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 "
Wander and all users,
Thank you for getting back to me. As you can tell, all of this is foreign
to me since I'm a very novice programmer. When you say poll the USB POV,
do you mean "read" data from the device?
Here's what I tried as I removed jelly beans from a scale over 10 seconds:
import sys
> It hasn't. This is a fresh compile under 10.6.8. I am trying -- hard -- to
> avoid using homebrew and similar.
I personally never broke my systems with Homebrew (but I did several
time with MacPorts and Fink), and I now use it intensively, but I
guess that YMMV.
> Adding libusb path to DYLD_LIB
2014-11-03 14:48 GMT-02:00 Anony Mous :
>> If libusb(x) has been installed with Homebrew:
> It hasn't. This is a fresh compile under 10.6.8. I am trying -- hard -- to
> avoid using homebrew and similar. Last time I tried, which was not with
> homebrew but macports, it wrecked my system by overwriti
> If libusb(x) has been installed with Homebrew:
It hasn't. This is a fresh compile under 10.6.8. I am trying -- hard -- to
avoid using homebrew and similar. Last time I tried, which was not with
homebrew but macports, it wrecked my system by overwriting things I was
using with incompatible versi
2014-11-02 1:54 GMT-02:00 Mark McClure :
> Hello list:
>
> I have three A&D EJ-3000 scales that I want to simultaneously acquire data
> from every 1 minute over 24-hr periods. All scales have a USB interface.
> I've started working through the pyusb tutorial, but before I confuse myself
> any furt