U12 Example Code | LabJack
« Close

Datasheets and User Guides

App Notes

Software & Driver


U12 Example Code

Example Code/Wrappers: U12 Library



Examples In... Windows Mac Linux

A Note About Wrapper Terminology The interfaces to our C libraries / drivers could also be called: Foreign Function Interfaces (FFI) Language Bindings Wrapper Libraries We call them wrappers for short.


Do you have a driver that works on raspberry pi?



The U12 Linux driver will work:


Read here however regarding the U12 and Raspberry Pi:


We recommend using a LabJack device (and its Linux driver) other than the U12 with a Raspberry Pi. Note that this applies to the Rapsberry Pi B, and we have not yet tested with the Raspberry Pi B+.

I need to use my Labjack U12 from the Dark Basic Pro program, do you know what kind of code can I use to read it?

Thank you

See Section 4 of the U12 User's Guide.  You need to call functions from the U12 driver DLL (or ActiveX object), so the first step is to see if Dark Basic supports that.  If it does, you can start with attempting a call to GetDriverVersion.