The LJFuse homepage has the complete documentation.
- A U3, U6, or UE9 over USB with the latest firmware. The U3 requires 1.26; the U6 requires 1.15; and the UE9 requires control firmware 2.13 and comm firmware 1.5.
- LabJackPython
- Exodriver
- On Mac OS X, LJFuse requires MacFUSE. On Linux, LJFuse uses the kernel’s fuse implementation.
Plug in a U3, U6, or UE9 and run:
$ python ljfuse.py
On Mac OS X, it will print
$ python ljfuse.py
Making directory root-ljfuse for LJFuse
Mounting LJFuse at root-ljfuse.
When done, eject it from the Finder or run `umount LJFuse' (without quotes).
$
On Linux, it will print
$ python ljfuse.py
Making directory root-ljfuse for LJFuse
Mounting LJFuse at root-ljfuse.
Unmount it with `fusermount -u root-ljfuse' (without quotes).
$
In either case, change to the `root-ljfuse’ directory and look around. There are `README.txt’ files in every subdirectory with context-specific help.
$ cd root-ljfuse/
$ ls
HOW_TO_UNMOUNT.txt My U6/ README.txt
Here’s how to read AIN0 and set FIO0 to digital output high on a U6 named “My U6”:
$ cd "My U6/connection/"
$ cat AIN0
0.461
$ echo 1 > FIO0
More examples on the LJFuse homepage.
LJFuse is built using fusepy. It’s simple and doesn’t get in your way. MacFUSE on Mac OS X makes it easy to set the volume name and icon of the filesystem.