===========================
  LabJack LJM and Kipling
===========================

LabJackM (LJM) is a library that handles USB and TCP communications to LabJack devices.

LabJack Kipling is an application that uses LJM to handle LabJack device configurations.


Currently Supported Devices
---------------------------
T7, Digit-TL

For firmware updates, visit:
https://labjack.com/support/firmware/


Note: The LabJackM library interfaces with many other programming languages,
such as Python or LabVIEW. For more information, please visit:
https://labjack.com/support/ljm/


================
  Requirements
================

LJM Requirements
---------------------
1. The XCode developer tools

2. Mac OS X 10.5 Leopard or greater. We haven't tested the library
on 10.4 Tiger, but feel free to try and let us know if it works at
labjacksupport@gmail.com.


====================
  Mac OS X Install
====================

LJM is installed to /usr/local/lib.

The header file, LabJackM.h, is installed to /usr/local/include.

The constants files are installed to /usr/local/share/LabJack/LJM.

Kipling is installed to /Applications.


Mac OS X Install
----------------
liblabjackusb and libusb-1.0 are both installed to /usr/local/lib. If you
already have current versions and do not wish to re-install, choose Customize
during the Installation Type step and unselect them.


=============
  LJM Usage
=============

1. You need to include the LabJackM.h header file in your code.
For example:
  #include "LabJackM.h"

2. You need to include LabJackM as a library during compile time, using the -l
flag. For example:
  $ gcc foo.c -lLabJackM

Error codes and useful constants are included in LabJackM.h


Compiling and Running the Example Programs
------------------------------------------
To compile the example programs go to your LabJackM directory and run
    $ cd examples/
    $ ./make.sh

make.sh uses a Python program called SCons to compile, so make sure
Python 2 is installed and up to date on your machine. SCons has been included
in LabJackM/scons-local-2.1.0/. For more information, please visit
http://www.scons.org/.

Run one of example programs like this:
    $ ./device_info

