Metadata-Version: 2.1
Name: sti-LabJackPython
Version: 1.20180720.post2
Summary: The LabJack Python modules for the LabJack U3, U6, UE9 and U12.
Home-page: http://labjack.com/support/labjackpython
Author: LabJack Corporation
Author-email: support@labjack.com
Maintainer: Erich Beyer
Maintainer-email: erich.beyer@servertech.com
License: MIT X11
Project-URL: Source, https://github.com/badboybeyer/sti-LabJackPython
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: MacOS :: MacOS X
Classifier: Operating System :: Microsoft :: Windows
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Topic :: Software Development
Classifier: Topic :: Software Development :: Embedded Systems
Classifier: Topic :: System :: Hardware
Description-Content-Type: text/markdown

# sti-LabJackPython

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

2018-07-20

support@labjack.com

# Requirements

LabJackPython requires Python 2.6 or higher. Modules have been updated for
Python 3.x but not all functionality has been tested yet. Functionality used in
examples are tested. Please report bugs to support@labjack.com or on GitHub:

https://github.com/labjack/LabJackPython

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

https://labjack.com/support/software/api/modbus/ud-modbus

To upgrade firmware look at this page:

https://labjack.com/support/firmware

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

# Install:

```shell
$ python -m pip install sti-LabjackPython
```

# Run

From there, interacting with your devices is easy.

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

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

For UE9:
```python
>>> import ue9
>>> d = ue9.UE9()
>>> d.commConfig()
{'IPAddress' : '192.168.1.209'
 ...,
}
>>> d.close()
```

For U12:
```python
>>> 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:

https://labjack.com/support/software/examples/ud/labjackpython


# LICENSE

All LabJackPython library and example source code are licensed under MIT X11.



