forked from jordens/labjacku12
-
Notifications
You must be signed in to change notification settings - Fork 0
Fast pure Python and libusb1 driver for the LabJack U12 DAQ device.
chkolbe/labjacku12
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Python Labjack U12 driver with MacOS Support ============================================ Requirements: * libusb-1.0 * libusb1 Setup: * copy the folling two lines to /etc/udev/rules.d/doc/85-usbdev.rules and add yourself to the plugdev group (adduser yourself plugdev) to be able to access the usb devfs device as a regular user: * Mac OS Users take care you have libusb.dylib on the system (If lib is not on your Path add it to libusb1 like: site-packages/libusb1/libusb1.py in the function _loadLibrary() for libusb_path in ( # macport standard path '/opt/local/lib/libusb-1.0.dylib', # fink standard path '/sw/lib/libusb-1.0.dylib', # My standard path <-- modified this '/usr/local/lib/libusb-1.0.0.dylib', <-- and this ): if os.path.exists(libusb_path): break else: libusb_path = None ) ---------- # Labjack U12 ATTRS{idProduct}=="0001", ATTRS{idVendor}=="0cd5", GROUP="plugdev", MODE="0660" ---------- Usage: * see examples in test/labjack_u12_tests.py
About
Fast pure Python and libusb1 driver for the LabJack U12 DAQ device.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- Python 100.0%