Labview with U3
Posted 14 April 2010 - 02:39 PM
Posted 14 April 2010 - 04:04 PM
Sounds like you found the readme file in the LabVIEW71_LJUD archive. LabVIEW is a programming language very similar to C, except graphical images are used instead of text. So the pseudocode in Sectoin 4 of the U3 User's Guide is very similar to what you do in LabVIEW.
I have a U3-LV labjack and want to use it to acquire a signal into labview 2009. I'm not too computer savvy so I don't understand what pseudocode is being used for. I used labview before with an NI board and simply clicked and dragged a VI for data aquisition into my file. I can't seem to figure out which labjack VI to use for this same simple purpose? Am I missing something?
I suggest you start with examples. The easiest ones to start with are the e-function examples in the "\Examples\U3\Easy Functions" folder.
The easiest way to read an analog input is with the eAIN function. See the LabVIEW example, and read more about the function here:
So you see the VIs on the function palette, or do you just see question marks. We have found that if you are using the LabVIEW71_LJUD archive you have to rename the folder to LabVIEW_LJUD in addons, then run LabVIEW and see if it loads it properly.
Also, I tried to add the VIs from the addons list in my Functions Palette (after copying the Labview71_LJUD folder to the proper location) and it does nothing when I click and drag the VI. No error, no VI shows up, nothing. Am I trying to add VIs from the wrong place?
Nonetheless, rather than using the function palette to get LJUD functions, it is more common to just copy code from example VIs or use the balloon on the function palette to select the VI by name.
Posted 14 April 2010 - 04:15 PM
Posted 14 April 2010 - 04:36 PM
The example you mention streams whatever channels are in the array "Scan List (+)". Check out the example "U3 easy Stream Example.vi".
Posted 14 April 2010 - 05:11 PM
Posted 14 April 2010 - 08:10 PM
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users