Skip to Navigation

10.6 Snow Leopard

LabVIEW on Mac OS X and Linux

This is beta stuff. Future multiplatform LabVIEW support will likely revolve around LJSocket and LJFuse.

We have created a LabVIEW Library for LabVIEW 2010 for Mac OS X and Linux. It uses Call Library Function nodes to interact with the Exodriver. The examples should be compatible with both Mac OS X and Linux. Included is the Xcode project used to to make the required Mac OS X Framework and source code to build the Linux shared object (.so). We created a blog post describing how we built a library for Call Library Function nodes.

The download uses Call Library Function nodes not Code Interface Nodes (CINs). CINs are no longer supported in LabVIEW 2010. When they were we wrote a blog post describing how to build LabVIEW CINs for Mac OS X using Xcode.

Windows users, ignore all of this. See the LabVIEW for Windows support page.

File attachment: 

Linux and Mac OS X drivers

Introducing the Exodriver

The native USB drivers for Linux and Mac OS X have merged into a single driver: the Exodriver. The Exodriver is a thin interface (think exoskeleton) to LabJack devices. It’s written as a C library that uses libusb-1.0 for USB communication. The library can open, close, read from, and write to a LabJack U3, U6, UE9, and U12. Because it’s a library and doesn’t have any kernel code, it’s easy to build.

U12 users also have the option to use the ljacklm high-level driver, which requires the Exodriver. For more details visit the ljacklm web page .

Mac OS X Quickstart

Mac OS X users can use the pre-built installer rather than building the Exodriver from the source. The installer includes an patched copy of libusb 1.0.8 (source code). We also provide a simple Xcode project if you would like to use Xcode to build LabJack applications with the Exodriver. C language examples are provided with the Exodriver’s source code.

If you would prefer to build the Exodriver from the source, the instructions in the next section work on Mac OS X.

Two notes to U12 Users on Mac OS X: First, there is an issue with interrupt transfers and libusb that can be a huge problem for U12 users. There is an unofficial patch that should be included in the next release (1.0.9) of libusb. For now, we offer the libusb source with the patch applied. We have also updated the pre-built installer to use this version.