Technical information on how to install LabJack on classroom laptops.

Installing Labjack, LJPyhton on Mac. (Tested with OSX 10.8.5)

First install c, c++ (see below)

On older Macs, get libusb

Get and install the driver for OSX from here:
Run the installer.

Get LabJackPython from here:

Run the code, with the command:
sudo python install

Now you can run programs to use the LabJack and are interesting.

IMPORTANT: To allow students to use the LabJack need to set permissions
sudo chmod a+rx /usr/local/lib

(I keep forgetting to do that.)

If you you the above steps, the “” program should work. (See next web page.)

Info on LabJack python programming:

Where to find labjack modbus info:
Modbus timers and PWM:
Exodriver source code:

For Stern laptop, also installed Text Wrangler and Text Wrangler command line tools:


Install c, c++ (actually gcc and g++) compiler

But for older macs, ie Snow leopard osx 8.6 this works(?):
login and get “Developer Tools” category, find “Command Line Tools for Xcode“

Install, and it works!

Install xwindows:

g++ -Wall -W -Werror xwindow_example.cpp -o xwindow_example -I/usr/X11R6/include -L/usr/X11R6/lib -lX11
(On the mac the headers amd libraries are in non-standard places.)