Skip to content
The official Python modules and classes for interacting with the LabJack U3, U6, UE9 and U12
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore Updated Feedback Counter classes for Python 3 compatibility and some … Feb 3, 2017
setup.cfg python3 compatible Oct 5, 2016


LabJackPython: Cross-platform (Windows, Linux, Mac OS X) Python modules and
examples for the LabJack U3, U6, UE9 and U12.

LabJackPython requires Python 2.6, 2.7 or 3.x. For Python 3.x, most
functionality has been tested but not all yet. Please report bugs to or on GitHub:

To use Modbus first check that your LabJack device meets the minimum required
firmware version listed on this page:

To upgrade firmware look at this page:

To use Modbus on a UE9 over Ethernet, install Comm firmware 1.50 or higher.

To install LabJackPython, run the following command in a terminal (remove "sudo"
on Windows):

    $ sudo python install

If there are multiple versions Python installed, run the install command with
the Python version you want to install to. For example, on Linux if both
Python 2.7 and 3.5 are installed, you can install to Python 3.5 with:

    $ sudo python3.5 install

From there, interacting with your devices is easy.

For U3:
>>> import u3
>>> d = u3.U3()
>>> d.configU3()
{'BootloaderVersion': '0.27',
 'CIODirection': 0,
>>> d.close()

For U6:
>>> import u6
>>> d = u6.U6()
>>> d.configU6()
{'BootloaderVersion': '6.15',
 'FirmwareVersion': '0.88',
>>> d.close()

For UE9:
>>> import ue9
>>> d = ue9.UE9()
>>> d.commConfig()
{'IPAddress' : ''
>>> d.close()

For U12:
>>> import u12
>>> d = u12.U12()
>>> d.eAnalogIn(0)
{'overVoltage': 0,
 'idnum': 0,
 'voltage': 1.42578125
>>> d.close()

For examples, check the Examples/ directory. For additional information, go to
the LabJackPython page on LabJack's website:


All LabJackPython library and example source code are licensed under MIT X11.
The license can be found in the LICENSE file.
You can’t perform that action at this time.