Using LabJack VIs in LabVIEW

Hi, I'm using LabVIEW with a third party DAQ card, the LabJack U12. I know that its drivers are supported by LabVIEW, but I can't figure out how to add the LabJack VIs to the library. when I added the includes VIs into the user library, then ran LabVIEW, the user library was filled with blocks with question marks in them. Any suggestions on how to fix this?

You may have to copy the LabJack library file (the folder where that is located) to the addons folder (directory) so the path in Windows Explorer would look like: vi.lib\addons\LabJack. With a new folder containing the LJ library files. I think this is something I had to do on atleast one of the computers I use.
Or you can ask the LJ support at: [email protected] Or you can post in the LV section of their forum on their website, I'm sure they or someone would be able to help you there as well. It probably wouldn't be a bad idea to e-mail them anyway, they have great tech support.Message Edited by MAH2681 on 03-31-2005 04:54 PM
Using Labview 7.0 and 2010 SP1 with Windows XP and 7.

Similar Messages

  • Using sound VIs in labview 7.0 professional development suite

    hello all
           i hav a built a VI that aquires a thermocouple signal through my daq card....i intend to use sound VIs whenever my temp.exceeds set point..in short sound should b generated whenever temp.exceeds certain limit...... i hav used a "Beep" VI in my code....but no beep occured even if my temp.crossed set point.....is there any other platform required for using sound VIs??....i work on labview 7.0 professional development suite.
    best regards
    Solved!
    Go to Solution.

    hello
           after i posted this msg i heard a beep sound on my  pc speakers by placing only beep vi on block dig...and also with my code running properly.( that when my set point exceeded beep started ringing)......but after that i tried experimenting on many sound VIs.....n now when i place beep vi seperately on a block diagram it is not giving audio signal....same is happening with my code also....i cant here sound.....after successfully hearing  beep sound on my pc speakers now wat suddenly happened with it??......would it b due to opening and closing many sound vis at a time??....like it happens in case of DAQ devices..that wen v use traditional daq devices n try using DAQmx devices after that they don't run unless v reset our traditional daq drivers.....so is it possible in case of sound vis also?...atleast a separate beep vi should run giving sound on speakers if i assume my code is wrong...
    best regards

  • Where Used for VIs and LabVIEW Project

    Is there a way in LabVIEW Project Manager to check the Where Used status on all the VIs at the same time? I am going through a project trying to weed out VIs that are not used in the project. I know I can check the "Find Callers" for each VI, but this feels slow and cumbersome. Is there a way I can generate a report to find the Where Used status on all VIs in a project?
    Thanks,
    Matt

    You also have the Find Items with No Callers Dialog Box as of LV 8.5
    Eric V
    National Instruments
    Applications Engineer
    Certified LabVIEW Associate Developer
    "I'm a Ramblin' Wreck from Georgia Tech and a helluva (NI Applications) Engineer!"

  • How to use labjack U12 to control solenoid directiona​l valve with Labview in hydraulic system

    Hi,
    I need to control a solenoid operated direactional valve in hydraulic system with Labjack U12. I am using three relays but need some help on the vi. like which instrument drive I need to use etc....
    The coil voltage for the solenoid valve is :  AC120V, 60Hz; AC110V, 50Hz 
    My goal is to control this solenoid valve open/close at certin time, am using Labview 2011. Any advise would be helpful.
    Thank you!

    Have you got the relays working yet.  Do some initial testing with LJlogger to make sure hardware is controlling the relays as expected.  If you need further help with this step, provide a link to electrical details for the relays and describe how you have the relays connected to the U12.
    As for your programming in LabVIEW, I suspect you are using digital I/O, so the simplest thing to do is call EDigitalOut() to set a particular line to output-high or output-low, or if you need to set a line to input (for open-collector style control) use a call to EDigitalIn().  Perhaps look at "e function example.vi" to get started, and for general information about using the LabJack U12 with LabVIEW see topic #84 from the LabJack forums.

  • Report generation VIs in Labview 6.1

    Hello,
    I am havinf problems with using Labview 6.1 VIs for report generations. The VIs provided by Labview are not executable! It seems as if they had internal errors, non fixed errors. Moreover, I am not able to open the diagram because it is password protected. Does someone know if there is any patch to fix this or the reason why these VIs don't work?
    Thanks a lot!
    Regards,
    María

    Hello Maria,
    are you using the report Generation Toolkit for MS Office or the standard vis that LabVIEW provides for report generation?
    If you use the Office toolkit, this may help:
    http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/c8888a9a74e75c4786256cda00694a1e?OpenDocument
    If not, this may also help:
    http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/9acb175f6de483ae86256b2200776b8b?OpenDocument
    In any case, WHAT I WOULD TRY FIRST is to do a Mass Compile of the folder where the report vis are located.
    Here you can see what this does and how to perform it:
    http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/654877e62a97b72986256c95006f9b24?OpenDocument
    One last question...are you having trouble only
    with executables or also during development?
    Regards,
    JorgeM.

  • How to use multiple visa read in one program

    hi
    i am working at Hameg HM8143 power supply i want to measure voltage and current simultaneiously and use the measured values for further calculations. for this i used two visa read blocks.
    >>>>>>the measured values are shown in the same visa read string however i want it to be shown sepetately,
    >>>>>>One of the VISA read block gives error. so i want to know how to use VISA read to get current and voltage simultaneously in seperate strings
    >>>>>>than how to convert strings to numbers  for using them for my calcultions.
    i am attaching screen shot as well
    Attachments:
    screenshot.JPG ‏164 KB

    you can not use a single serial to send 2 commands simultaniously?
    There is a single serial line so one command has to be before another.  This doesnt mena that you can not read from 2 seperate threads but will have to ensure that there is a locking mechanism to make sure that your queries are atomic.  In labview encapsulating all communications can be done with an action engine which will allow for concurrent execution with automatic blocking of your resource (serial device).
    Paul Falkenstein
    Coleman Technologies Inc.
    CLA, CPI, AIA-Vision
    Labview 4.0- 2013, RT, Vision, FPGA

  • Use of FindLstn in Labview

    I'm struggling with the Findlstn function in Labview.  It's returning "Labview: Configuration Token not found", and "NI-488: Table Error".  I'm guessing the format of my address list input isn't correct - I'm using a 1-D array of word - but can't find an example or relevant guidance on the error messages. 
    Solved!
    Go to Solution.

    The specific issue here was that if you left the limit input unwired, it defaults to zero, which generates the error condition. You need to wire a non-zero value to the limit input, such as the size of the array that you are providing for the list of GPIB addresses to check.
    Note that you can also use the VISA Find Resource function.

  • How can I use USB interface in Labview?

    Hi.
    Does labview allow to USB interface?
    I have been seen allowing GPIB and RS232.
    I'm beginer at Labview and wanna use USB interface for my target system and pc.
    I wanna know how to labview interfaces from target system to pc.
    And if Labview doesn't provide USB interface module, how can I use USB?
    Is using a USB at Labview hard to beginer?
    Plz, answer to my quetion.
    sorry, my English is very poor.
    thx for reading my article.

    You can access devices connected to the USB port, but not in the same way as you would a GPIB or RS232 device. There are no USB drivers like there is VISA for GPIB or serial. Rather devices that plug into the USB appear to the systen as some sort of standard resource like a printer, disk drive or IO board. LabVIEW then interacts with these devices as it would any other device of the same type.Look at it this way, if you have a USB daq device you will access it through MAX the same as if it were a plugin card. Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • Using VI Clear in LabView 7.0

    Hello,
    we programmed a software with LabView 6.1 which uses the serial port over VISA 2.0.0.
    Now we have LabView 7.0 with VISA 3.0.1 and the problem that the VI "VISA Clear" has a deviant behavior as before.
    The serial communication don`t work now, if we use the "VISA Clear". Does anybody know if there is anything modified in this VI between VISA 2.0.0 and VISA 3.0.1.
    We found nothing. Can i use any other VISA VI to "simulate" the VISA Clear?
    Thanks and best Regards
    P.Frank

    Patrick:
    Yes the behavior changed between NI-VISA 2.6.x and 3.0.x. This was due to a change in the VISA specification. Shame on us for not putting anything about this change into the NI-VISA readme file.
    Old behavior: If the I/O protocol attribute was 'normal' (default), then viClear would just return an error. If the I/O protocol attribute was '488.2 strings', then viClear would send "*CLS\n" to the instrument. This was wrong because IEEE-488.2 defines "*CLS\n" to mean something different from "selected device clear", which is what this operation is intended to do (think of GPIB).
    New behavior: viClear will first flush (discard) the low-level serial input and output buffers. It will then send a serial break. This is consistent with an IEE
    E spec whose number I can't remember, but it defines a serial equivalent for 488.2 communications - in other words, a serial break should cause a device clear. The viClear operation no longer sends "*CLS\n".
    Again, sorry for not mentioning this change in the documentation. We've tried to make the operation as close as possible to the industry standards, and no one I talked to at NI or anyone else in VXIplug&play or IVI thought this change would be a big problem. So I hope you can find a good solution to your problem.
    Dan Mondrik
    National Instruments

  • Using serial Ports in LabVIEW

    i am using LabVIEW 6.1 on windoes NT 4.0. what modes are supported? i need to use RS 422. is this possible?

    Be very careful about installing non-standard serial cards in a PC
    running NT. The NTSERIAL driver will try to control these non
    standard cards (but won't be able to) and won't let the manufacturer's
    driver control it unless you follow the card manufacturer's
    instructions to the letter. Typically this involves installing the
    manufacturer's software FIRST, setting the configuration, setting any
    dipswitches or jumpers on the card, and THEN LAST, powering down,
    installing the card, and powering back up. BUT PLEASE FOLLOW THE
    MFG's INSTRUCTIONS, not mine if they differ.
    Blackbox makes an RS422/485 card and I believe so does NI.
    Douglas De Clue
    LabVIEW programmer
    [email protected]
    Sanjay wrote in message news:<50650000000500000063
    [email protected]>...
    > 1) The standard/built-in serial ports on your computer are almost
    > certainly not RS-422 compatible (they're actually almost certainly
    > RS-232). NI (amongst other serial vendors) sells RS-485 serial
    > interfaces that are fully RS-422 compatible.
    > 2) From a software standpoint you can use the VISA-Serial VIs
    > (recommended) or the I/O compatibility VIs to control either RS-232,
    > RS-422 or RS-485.

  • I need use a webcam in labview. Is it possible?

    I need use a webcam in labview, is it possible?
    BYEE!!!

    I haven't tried this, but here's a page with some info and VIs to download.
    http://www.cs.unc.edu/~parente/labview/index.shtml
    A Google search on "webcam +labview" will probably return other pages.
    Ed
    Ed Dickens - Certified LabVIEW Architect - DISTek Integration, Inc. - NI Certified Alliance Partner
    Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.

  • Controlling Agilent E4438C ESG using NI-VISA GPIB

    Hii all,
    I am controlling Agilent E4438C ESG using NI VISA GPIB...Whenever i want to set the amplitude and frequency, i will send it the commands....but when i want to capture the information i am unable to do it....
    I gone through the VISA GPIB user and programing manual ..there is various functions such as ibwrt etc..How can i use those commands in the LabVIEW...
    One thing more ..i wanna to know, the commands vary according to the instrument type..
    If yes from where i can get those commands for Agilent E4438C ESG....
    Puneet
    CLA 2014
    CCVID 2014

    You should download the driver. The main search page is at http://sine.ni.com/idnetwork/. Just enter 4438 into the search field and you will find the driver.
    Your comment about capturing the information is not clear. What exactly do you want to read back from the instrument? You should spend some time reading the programming manual for the instrument. When you find the query (a command terminated with a '?") you want to issue, you would see if it exists in the driver. If it does, just execute the driver function. If it doesn't, then you do a VISA write of that command and then do a VISA Read.
    p.s. The programming manual is available from the vendor.
    Message Edited by Dennis Knutson on 02-13-2008 09:18 PM

  • Using a wiimote with LabVIEW

    After seeing many movies on the internet of people controlling random devices (eg. roomba) with a Wiimote, I wanted to play too. We wrote a set of LabVIEW VIs to configure and query the wiimote. The VIs call into the Microsoft Windows Bluetooth stack and communicate via a set of proprietary input and output reports. Most of the information regarding the proprietary report formats was obtained from the following sites:
    WiiBrew Wiki
    WiiLi
    The Wiimote VIs currently can:
    * Read and write LED status
    * Read all buttons (except power button)
    * Read calibrated accelaration data
    * Read up to 4 IR sources
    There is still some functionality missing:
    * Nunchuk is not supported yet
    * Speaker is not supported yet
    The minimum requirements (as tested) for using the VIs are:
    * Microsoft Windows XP SP2
    * Cambridge Silicon Bluetooth Radio (other Bluetooth stacks may work as well)
    * LabVIEW 8.2
    * Wiimote controller
    * IR Source for tracking IR data
    These VIs are a work in progress, and I hope to add more features and examples in the future.
    Hope this helps,
    JohannS
    PS Now go shake a wiimote at LabVIEW
    Message Edited by JohannS on 05-25-2007 07:59 AM
    Attachments:
    wiimote.zip ‏369 KB

    Dj
    My ultimate goal is to have an easy to use set of VIs that expose the functionality of the Nintendo Wiimote.
    I have considered adding support for the rumble feature. It would be a single VI, probably called Wiimote Set Rumble.vi, that turns the rumble feature on or off. Unfortunately there are some undesired interaction with the other functions. The rumble state is updated by any output report sent from the host to the wiimote. If you dig into the code, you will see that we use Wiimote Set Output Report.vi all over the place. So the problems are:
    1) Turning rumble on/off would disable any previously set LEDs
    2) Calling any Wiimote VI that sets an output report would disable the rumble if it has been enabled.
    So I am left with following options:
    1) Implement a single VI that enables/disables the rumble, knowing that it would be immediately be disabled once I call any other Wiimote VI that sets an output report.
    2) Add a rumble input to each VI which sets an output report in the API so that the rumble state is maintained even if calling other Wiimote VIs.
    3) Add rumble state information to the Wiimote session. Use session state whenever setting output report to maintain rumble state. This would become slightly trickier when using multiple wiimotes in the same application.
    4) Do not support rumble feature for now.
    So I would like to ask you a question (or two).
    a) Would you mind if the rumble feature is automatically turned off if you call any other Wiimote VI?
    b) Would you prefer that the rumble state is maintained even if you call other Wiimote VIs?
    Thanks,
    JohannS

  • AGENA E5071B VIs for LabView 7.0 (Evaluatio​n Disk)

    Hi there,
    I had just installed a driver for a Network Analyzer (Model #: E5071B) from Agilent Technologies. The stated requirement on the download page was for LabView 6.0 and LabView 7.0 along with NI Visa 3.2.
    I am currently running an evaluation edition of LabView 7.0 with NI Visa 3.3, and is facing some problems in using the VIs provided with the driver.
    The error message observed is as follows:
    "An error occured loading VI 'agena Interactive Application Example.vi'.
     LabView load error code 9: VI version (7.1) is newer than LabView Version (7.0)"
    Is there any chance that I can obtain those VIs that can be tested on my evaluation version.
    Cheers.

    Yariv,
    Let me try to answer your question on whether does LabView takes over VB-written codes or vice versa. Now, from my experience with this E5071B Network Analyzer using LabView, Visual Basic and VBA macros, I believe any of these program can still take over the function on the ENA at any period of time (even if you have several of these running at the same instance). Actually, when I have a program controlling a ENA, I can still override the original program's setting with another program and provide a new set of commands and/or settings (but I am sure no one in the right mind would attempt to do this as it will affect the test results.)
    My first concern is whether "other" programs can immediately detect the change or command that was directed to the ENA. Earlier on, I had several bad experience where the communication channel between my tester and ENA is dropped unexpectedly, resulting in a loss of control of the ENA. I am still unable to detect and resolve the cause of concern.
    Continuing further, I don't think I am in position to help you with your second question, as my search around NI's website on this ENA seems rather limited. If I have any leads, I will post it here then.
    On the sideline, if you are interested in running VBA macros directly on the ENAs, do check out Agilent's website as there are a list of Agilent-written codes for some of the general functions. On top of that, you may be interested in evaluating Agilent's IntuiLink. I doesn't personally use it in my line of work, but it seems to provide most of ENA's functionality through Microsoft Word and Excel.
    Have you tried to direct your questions to Agilent Japan? That's where the support and development team are. If not, you can compile a list of questions, and I can assist you to contact Agilent Japan, as I am currently attached with Agilent Malaysia. It shouldn't be much of a hassle.
    Cheers,
    JL Chew

  • Documentation for programming a PXI card with VISA in LabVIEW.

    Hi,
    Where can I find a documentation for programming a PXI card with VISA in
    LabVIEW?
    Thanks.
    Denys.

    Dan,
    Thank you for your answer, short but useful to start.
    Denys.
    "Dan Mondrik" a ecrit dans le message news:
    [email protected]..
    > Denys:
    >
    > Our NI-VISA documentation for PXI has been somewhat scarce. We are
    > improving it in the next version. In the meantime...
    >
    > Call VISA Find Resources with "PXI?*INSTR" to find all PXI devices.
    > Call VISA Open with a device string like "PXI::devicenum::INSTR" or
    > "PXI[bus]::devicenum[::function]::INSTR". In LabVIEW, use the VISA
    > class "PXI Instr", available since LV 5.0. (The generic "Instr" will
    > also work but will also present GPIB and VXI options and may be too
    > confusing.)
    >
    > The property node has all the available PXI properties such as
    > BAR0-BAR5 base/s
    ize/type, and also manufacturer ID and model code.
    > You can use all the register based in/out/peek/poke methods, just make
    > sure to use the appropriate address space for your device.
    >
    > Dan Mondrik
    > Senior Software Engineer, NI-VISA
    > National Instruments

Maybe you are looking for

  • What's wrong with my itunes and music?

    Hi all, After downloading Beyonce's full album to my itunes list, when ever I sync my phone, it doesn't sync my other artists and their songs? If I add new music to my itunes it wont allow me to transfer them onto my iphone 5 ! Please help

  • Difference between Journal batch,journal header and journal line

    Hi, Can someone explain what the difference between Journal batch, Journal header and journal line are? Can we post only one batch at a time?

  • Pages show differently in FF 3.5.3 and IE 7

    Hi, Since the first ever DW, I haven't had too much trouble with the different displays of a site by FF and IE however ... I have a client who wants everything to be exact in both browsers and I am having great difficulty achieving this. I understand

  • How to install an Midlet Permanently and start it automaticaly

    Is their any way to install the Midlet application created for S60 plateform permanently to the S60 device. And is their any way to run that Midlet automatically when ever the device starts.

  • Plug-ins missing

    I just did a system update and notice that flash is not working on any sites. So I installed flash from adobe site. Still no luck. When I go to Safari Help menu and select "Installed Plug-ins" -- I get a blank HTML page -- as if Safari no longer sees