A few word about the u3Base Labjack projectModified March 3rd 2008LabJack manufactures a nice device with analog and logic inputs and outputs. They also provide a driver for Linux, but very limited software. I found some scripting software for the U9 hardware, but nothing substantial for the U3. This is the reason why I started a fundamental class called u3Base, which is written in C++ and intended for Linux and tested on Ubuntu version 6 LTS and 7.10.
The aim of u3Base is to provide a fairly high level interface without compromising the speed of the hardware too much. Further it should be easy to use for the average technical minded programmer. Last but not least should it be expandable by means of additional classes like one that can interpret Carnot card style language for the logic, a graphical module or for example interfacing to gtk. This is the reason why there are no private variables or methods in this base module, only protected and public.
I would love feed-back from any user and I would be more than happy to serve any modules, additions or experiences you might have. You can find my email address in the
source codes.
Any number of external monitor programs, written in any language, can interface via shared memory to a main application using the u3Base class.
The u3Base class provides for:
Boolean equations to determine the logic functionality of the LabJack U3.
Analog input have lower and upper limits to trigger logic events.
All logic, both input and output, has intelligent delay timers.
Software switches for manual stimulation of boolean equations.
Incorporation of counters into the boolean logic for automatic operations.
And a lot more...
Hope you will enjoy the u3Base class for LabJack U3. - have a look at the manaul:
u3Basehh.pdf