LJM Example Code (T-Series Devices Only)
LabJack makes wrappers and libraries for LJM available for many languages.
LJM supports T-series devices such as the T4, T7 and T8. For other LabJack devices, go to the Software page.
LJM Example Code Table
Libraries... | Windows | Mac | Linux |
---|---|---|---|
✔ |
|
| |
✔ | ✔ | ✔ | |
✔ | |||
✔ |
|
| |
✔ |
|
| |
✔ |
|
| |
✔ | ✔ | ✔ | |
✔ | ✔ |
| |
✔ |
|
| |
✔ |
|
| |
✔ | ✔ | ✔ | |
✔ | ✔ | ✔ | |
✔ | ✔ | ✔ | |
✔ | |||
✔ |
|
|
Embedded Lua Scripts
While the above examples are run on the host computer, there are also example Lua scripts which run on-board T-series devices.
Modbus TCP
There are also direct Modbus TCP examples that do not use LJM. Note that some features, such as streaming, are greatly simplified by the LJM library. A list of the available Modbus registers is available on the Modbus Map page.
Digit (End of life)
Example code specifically tailored to the Digit-TL/Digit-TLH can be found in the appendix-b section of the Digit's datasheet.