What is LJM?

What is LJM? - LabJack

LJM Library LJM is LabJack's free, cross-platform driver / library for simplifying device communication.

LJM Library

LJM is LabJack's free, cross-platform driver / library for simplifying device communication. It supports the LabJack T4 and T7 series and T8 devices.

 

Download

See the LJM installer page to download.

Documentation

See the LJM User's Guide.

Features

Cross-Platform

Support for Windows, macOS, and Linux allows for the same code to be run on different operating systems with the same results, whether it's on your Windows desktop, MacBook laptop, or Raspberry Pi running a distribution of Linux.

Supported In Multiple Languages

Written in C++ with a C API, LabJack maintains and supports wrappers for many programing languages.

 

C# .NET

using LabJack;

    ...

    int handle;
    LJM.OpenS("T7", "USB", "ANY", ref handle);

    // Read the voltage on AIN0
    double voltage;
    LJM.eReadName(handle, "AIN0", ref voltage);

    ...

 

For more LJM C# .NET code, see the C# .NET Examples page.

Some other supported languages:

LJM's API allows for easy integration into most languages. If the language you use isn't currently supported, feel free to contact us for assistance in integrating LJM into your project.

LJM Is For Any Level Of Expertise

You don't need to be familiar with Modbus to use LJM. Simply use LJM's Easy Functions for direct access to all the features your LabJack device provides.

If you do prefer to use Modbus, LJM's Raw Byte Functions provide byte-level control to manually send and receive Modbus packets.

Related Tags: