A few notes about getting started using the LabJack U12 in LabVIEW:
The first thing to realize is that NI-DAQ is primarily for National Instruments DAQ boards, and thus to talk to the LabJack U12 you need to use our functions, and not the DAQ functions from the "Data Acquisition" palette in LabVIEW. Similarly, the NI application called Measurement & Automation (MAX) is pretty much a user interface for NI-DAQ and also has no use with the LabJack.
We have VIs that call all the functions declared in Section 4 of the LabJack U12 User's Guide (installed by our CD and available from our downloads page). The user's guide documentation is written in C, but the VIs are very similar.
Keep in mind that our software can be downloaded at any time from labjack.com. Since most of the driver functions have a demo input, the VIs can be evaluated without hardware:http://www.labjack.com/downloads.php
The LabVIEW drivers are in ljackuw.llb, and these drivers call functions from our DLL which is placed in the Windows system directory.
If our installer detects LabVIEW on your computer, it will place the LabJack drivers in the proper directory such that you get a "LabJack" sub-menu on the LabVIEW function palette. If you have more than one version of LabVIEW installed, the LabJack drivers are copied to the directory of the version that Windows considers "current". To manually install the drivers, you can copy the "LabJack" directory from:
and place it under \vi.lib\addons\ in your LabVIEW directory. If you do not have an "addons" directory create it.
The normal LabVIEW drivers are best for LabVIEW 6.0.2 or higher. If you have LabVIEW 5.X, use the drivers located in:
If you look in the LabJack directory under \examples, you will find some simple LabVIEW examples and source code for most of our sample applications (LV 6.0.2). Some of our examples (particularly LJlogger) use VIs that are not included with the base version of LabVIEW. If you are missing some VIs used by our examples (such as SMTP, FTP, and report generation), you will have to delete that functionality from the example.
See the following topic for another simple example concerning analog output:http://www.labjack.com/forums/index.php?showtopic=70
The normal LabVIEW drivers in LabJack software V1.17 have been tested in LabVIEW 6.0.2, 6.1, and 7.0. Note that LabVIEW 7.0 requires LabJack drivers V1.17 or higher. Run LJtest to see your driver version, and download the latest drivers if needed:http://www.labjack.com/downloads.php
Sometimes people make a copy of the LabVIEW drivers and put them in various places. If this could be the case on your PC, search for and delete/archive all copies of the drivers (ljackuw.llb) before running our installer.
If you develop a VI in LabVIEW 5.x using our LV5 drivers (ljackuw50.llb), and then upgrade to LabVIEW 6+, your VI will still be calling the 5.x drivers from ljackuw50.llb. The easiest way to solve this is to search for and delete/archive all copies of the 5.x drivers (ljackuw50.llb). Now when you next open your VI, it will prompt for location and you can tell it to look in ljackuw.llb.