Missing control on compiled labview program

I recently compiled a very simple VI. The VI front panel contains a boolean switch. If the executable is run from the machine where it was compiled everything looks fine. However, when the executable is moved to a network drive and run the boolean control disappears. The control can still be operated and the boolean text labels are visible but the switch itself is gone. It there some additional support file needed? I did not use an installer. - I'm using Labview 6.1 on a Win 98 computer.

> moved to a network drive and run the boolean control disappears. The
> control can still be operated and the boolean text labels are visible
> but the switch itself is gone. It there some additional support file
> needed? I did not use an installer. - I'm using Labview 6.1 on a Win
Usually this is because the mesa DLL is missing. You can use the
installer that came with LV, or you can copy the mesa DLL and keep it in
the same location relative to the EXE or DLL.
Greg McKaskle

Similar Messages

  • How do I compile Labview program so multiple instances run on one computer?

    I would like to have the ability to run multiple instances of a single executable Labview program  on the same computer.  Is there an option I should set during compilation?

    Do you need the multiple instances to communicate?  If so, use the INI file settings and VI server to launch them into the same run time engine.  These settings in your INI file may be of use.
    server.tcp.enabled=true
    hideRootWindow=true
    server.tcp.port=nnnn
    server.tcp.access="+localhost"
    Make sure you use a unique port number.  Launch your main VIs by first using Open Application Reference with the port in your INI file and "localhost" as the machine name.  Then use this application reference to open your main VI using Open VI Reference.  Run it using the Run method with Wait Until Done set to FALSE and Autodispose Ref set to TRUE.  Make sure it has its front panel open before you close your launcher or the LabVIEW runtime engine will close (since you have the VI ref, you can do a slow poll on the execution state or front panel open/closed properties).
    Be careful with shared VIs.  Reentrancy and VI templates are your friends.
    This account is no longer active. Contact ShadesOfGray for current posts and information.

  • Running labview program as system service

    I was wondering if anyone has done this before.  I need a compiled Labview program to start up as a system service with windows XP. I'm using Labview 8.6.1. How do I do it? Thanks!

    Sorry, I think I wasn't clear in my last post.
    I'm
    developing a program in LabVIEW that run continuosly without user
    interface, so I want to convert this program to a windows service. I
    took a look at http://zone.ni.com/devzone/cda/tut/p/id/3185 but I think
    this method does not provide a gracefully stop. Instead, I'm trying to
    follow the Kuan Chen's method, about to "create a Windows Service with
    LabVIEW" (http://members.cox.net/kuanchen/lvservice/index.html).
    At
    the end of step 1 says "Build all the server code into a DLL". I did
    this: creating a "Shared Library" in "Build Specifications" Project
    Manager menu on LabVIEW. This procedure create a dll (LabVIEW.dll) with
    2 functions BeginService and EndService.
    In Step 2 Chen
    says "...Link
    AnyService.dll to the LabVIEW dll created in Step 1. Be sure to also
    link to labview.lib as it is very likely the LabVIEW DLL will use it.".
    I think it means link a dll to dll (AnyService.dll to LabVIEW.dll).
    Where do I do that? Is It posible link AnyService.dll to LabVIEW.dll in
    LabVIEW? or, Do I need do it from Visual C++?. And How to link
    labview.lib?
    I
    know that if the "link dll to dll" procedure must be done in Visual
    C++, then I've been searching in the wrong forum, so let me know.

  • Control solenoid from labview

    Hi all,
    I am having a solenoid valve to be controlled from my labview program from a computer.
    I already have an interface that is built to switch the solenoid valve on/off.
    But I dont have any information on the interface. The interface is provided with a PCI DIO 96 card to communicate with the computer.
    The interface has a "ni sc 2054"  (24 VDC) accessory and its connected to a "Grayhill 16 channel rack". I couldn't really understand the interface.
    I need to switch the solenoid on/off using the PCI DIO 96 card. Can I do that without the knowledge of what's in the interface? The interface is working with a Windows 98 system but there is no way to view its code or make it work on the system with Windows XP. Does labview provide with this abstraction so that I can use DAQ and operate the solenoid without knowing what it actually does?
    Or its ok even if I have to purchase a new hardware to control the solenoid. Any solution which doesn include the interface or with a new setup in the middle is also appreciated.
    I have attached a snapshot of the circuit inside the interface, but I dont think if it will be really useful.
    Thanks for your help.  
    VJ 
    Attachments:
    Picture 048.jpg ‏1101 KB

    Hi Vijay,
    Looks like you've got an opto isolation board populated with "output" opto relays. (Those are the red blocks on the Grayhill board) 
    Your Opto board is connected to a "Breakout" board, and that is connected to your DIO 96 card. 
    This is a setup we use all the time.  You shouldn't need new hardware to operate your solenoid valve.  
    I'm not sure from your question if you want to add a new solenoid to your existing hardware, or if you just want to control an existing one.
    If you've already got your solenoid wired up, you need to know what channel (line) it's on.  The numbers beside the red blocks on the Grayhill board indicate which line each block is on. 
    An easy way to test your wiring connection without writing any code is to start Measurement and Automation Explorer.  There should be a link to it from your National Instruments Start menu. 
    Start that program, and look for something called "Devices and Interfaces" on the left hand side.  Under that menu, you should see some reference to your DIO 96 card.  If you select that, on the top of the right hand pane you should see something called "Test Panels".   When you click on Test Panels you should see something similar to the image below.  (Your's may look different if you're running an older version)
    Click the "All Output" button, and then click "Start".  Then move the switch sliders to select On or Off.  Make sure you aren't going to damage anything by turning on the wrong output if you don't know exactly which one your solenoid is connected to. 
    As you turn outputs on and off, you should see the little red LEDs on your Grayhill board lighting up.  Once you know which Port and which Line your solenoid is on, you can then write LabVIEW code to turn it on and off. 
    Good luck.
    Message Edited by pallen on 03-05-2009 09:34 AM
    Patrick Allen
    Attachments:
    testpanel.jpg ‏36 KB

  • Controlling stages- labview program enough?

    Hi ,
    I'm putting together a new setup with XYZ stage, rotational and tilt(goniometer) stages. I have a ESP7000 controller unit.
    If I purchase the labview program (only the basic, without any add-ons) Can I control my stages and do some closed loop control ?
    Thank you.
    Ozan.

    Hi Ozan,
    I checked out a couple other Newport ESPXXXX Motion Controller/Drives on Newport's website and it looks like they have a library of drivers for working with their motion controllers through LabVIEW.  I wasn't able to find a product page for the ESP7000, but I found one for the ESP6000, and from there it looks like Newport provides "A complete library of LabVIEW™ drivers covering all ESP6000 commands and extensive DLL’s" for the ESP6000.  You will need something like this for interfacing with the ESP7000 and controlling your system. 
    Beyond that, you should be able to use the drivers from Newport with LabVIEW Base Development System to control your system (no other add-on packages are necessary). 
    Thanks,
    Sherrie R
    Applications Engineer
    National Instruments

  • Now I am using Windows Xp Labview program now i want control the Sun Solaris OS Board.Is it Possible in Windows XP Labview?

    Now I am using Windows Xp Labview program now i want control the Sun Solaris OS Board.Is it Possible in Windows XP Labview?

    You better should post your question in the LabVIEW forum - this one here is dedicated to LabWindows/CVI...

  • How to create a labview program and use it as a compiled prgram

    I am a mechanical engineer, and I have some formulas and equations that I used to obtain maximum thickness of pipelines and also in the design of steel structures, what I need now is to use Labview to put these huge number of formulas in one program. I can do that, but the problem after I make the program I want it to be used by anybody on  any PC which is not installed Labview on it, and that is the problem, I don't know if I can make an excel  sheet or something to be the interface that can be used by the user, and if I can, I hope that I can have the details of who to execute that.

    LabVIEW interacts with Microsoft Excel using its Active X hooks. Anything Microsoft has exposed in the Active X API, LabVIEW can do. This includes opening Excel, reading values, writing values, etc. Doing this can be tricky for a novice programmer and NI has created the Report Generation Toolkit for Microsoft Office that plugs into LabVIEW for a more streamlined experience. 
    The Developer Zone is a good place to start a search looking for Active X Excel examples: http://zone.ni.com/devzone/fn/p/sn/n16:en/sb/navsRel?q=microsoft+excel+labview&x=0&y=0
    As well as the Forum: http://forums.ni.com/ni/board/message?board.id=BreakPoint&message.id=2391 
    Reading and writing to an open Excel file could become quite cumbersome however. If the Excel file is open and the user is interacting with it, writing to that same file will return an error saying that the file is currently open. It would have to end up like this: User opens file, modifies some fields, saves file and closes excel. LabVIEW program opens file, reads fields and writes a result, then opens Excel to display to the user the result.
    Is there any specific reason you want to use Excel as your user interface? You can use the front panel of a LabVIEW application to enter the data and display the results, all while writing this data to an Excel file for logging/reference in the future. 
    Message Edited by Stephen B on 11-17-2008 01:26 PM
    Stephen B

  • Can multiple LabVIEW programs simultaneously access the same NI-DAQmx hardware?

    I am developing a test station system that, in essence, runs several
    seperate LabVIEW programs simultaneously on the same computer, each
    controlling a different set of I/O channels on one shared set of NI
    DAQ hardware (analog and digital I/O PCI boards with external signal
    conditioning).
    I have already gotten a system like this running almost flawlessly
    using LabVIEW 6.1, NI-DAQmx 7.1 with traditional channels, and older
    E-series DAQ hardware. So long as two programs do not try to write to
    the same output channel simultaneously, everything works exactly as
    expected--I can even read from the same (named) channel simultaneously
    from more than one program. The only issue I have had is that if
    one
    of the compiled applications is closed (not just stopped, but closed)
    while others are still running, Windows XP (SP1) will bluescreen on a
    driver error. This is undesireable, but acceptable (though if there's
    a fix/workaround, I'd love to hear it).
    I am now building a similar system using mostly the same software
    (with an upgrade to LabVIEW 7.1), and I've noticed that the new
    M-series DAQ hardware seems to offer much more bang for the buck than
    old E-series hardware and its kin.
    My question is this: It appears that I/O on M-series hardware must be
    performed with new mx channels, with traditional channels not being an
    option. I am therefore wondering if I will be able to do this kind of
    multiple simultaneous access with mx channels, or if I must purchase
    the classic hardware and use traditional channels for this somewhat
    unorthodox application.
    (Incidentally, the multiple simultaneous program thing is a
    requirement for this system, as it is the only clean way to run
    multiple
    identical copies of the same complete program that only
    operate on different I/O channels, and re-doing the program from
    scratch is not an option.)

    Dear Anonymous,
    Thank you for contacting National Instruments.
    To address your question, I don't know if multiple simultaneous access with mx channels is possible, but I do not see why it wouldn't be. The best way to find out would be to test it. I don't have your program or hardware, so I'm pointing you to some Compatibility VIs. These are VIs that look exactly like Traditional DAQ VIs except that underneath they call the DAQmx driver instead of the Traditional DAQ driver. If your device works when you substitute these Compatibility VIs in for the Traditional DAQ VIs, then you'll know the M Series boards will work for you.
    Here is the link for information about the Compatibility VIs:
    http://digital.ni.com/softlib.nsf/954feaeea92d90918625674b00658b
    83/9d67f671bcc6850586256e630059308b?OpenDocument
    Let me know if you have any further questions or if this does not resolve your issue.
    Thanks again and have a great day!
    Chad AE
    Applications Engineer - National Instruments

  • How use an ESP motion controller to drive an actuator by using Labview program?

    Our group bought a Universal Motion Conroller/Driver from Newport company and
    its model is ESP 300. Right now, I am going to use it remotely and I want
    to use Labview to compile the driving program. My thought is to move an
    actuator step by step in x-axis and the length of step moving is 2cm.
    After moving 40cm on x-axis from the beginning to the end, I will move the
    actuator one step on y-axis. Then I moving from the beginning to the end
    on x-axis again. I wonder whether somebody has such a labview program
    or not. Or, has anybody other sample Labview programs for the
    controller to control the moving? Can you provide them to me?
    Thanks a lot.
    Huili Wang

    Hello,
    There are several examples written in LabVIEW to do what you are trying to do but they will only work with National Instruments motion controllers, as they use driver specific VIs. In order to use your controller with LabVIEW you'll need a shared library of some sort. Once you have this library you can program your controller in LabVIEW by making function calls referencing to its shared library. See built-in LabVIEW examples for 'Using External Code'.
    I hope this helps. Let me know if you decide to go with one of National Instruments motion controllers instead and need help finding those examples I was referencing above.
    Best regards,
    Yusuf C.
    Applications Engineering
    National Instruments

  • Can't compile Servlet program(error in setting classpath in XP)

    I encountered a similar problem as 'hereispaddy'.
    "I have recently written a servlet program. When I compile the program (let's say "HelloWorld.java"), I've got the following error message:
    package javax.servlet does not exist
    I've download the class files and set the classpath already. Have I missed anything? "
    i would like to ask, how to set the following in Windows XP:
    set CATALINE_HOME=C:\PROGRA~1\APACHE~1.0
    set CLASSPATH=.;%CATALINE_HOME%\COMMON\LIB\SERVLET.JAR;C:\JDK1.4\BIN;
    *ive tried in control panel->system->advanced->environment variables->
    variable name:CATALINE_HOME
    variable value:C:\Program Files\Apache Tomcat4.0 (and)
    variable name:CLASSPATH
    variable value:.;%CATALINE_HOME%\common\lib\servlet.jar;C:\jdk1.4\bin
    but failed!
    Could anyone kindly tell me what's wrong with my setting?
    Thx a lot!!!

    Does Tomcat work? Can run the examples on the home page?
    The only suggestion I have at this point is to get rid of the spaces in
    C:\Program Files\Apache Tomcat4.0
    But I am still in Win98 , so I am just guessing.

  • How can I get the measured data of a compiled LabView application via active X?

    I want use data measured by a compiled labview application in a visual basic program by the way of active x. i your knowledge base is only explained how to do this with a notcompiled vi
    or how to call a compiled vi but not how to get the properties.

    A. Rafiq's reply / answer is just exactly what I was looking for as well. I'm using it with VBA for an Excel application.
    Note that the differences between this and the "not compiled" VI is that the application is the compiled application name, versus LabVIEW.
    Additional information:
    Remember that when you build the application, it puts the VI(s) in a wrapper app, which requires the Run-Time Engine.
    In order to access the VI, you have to get a reference to it. Doing this starts the app.
    Now the VI's methods and properties are exposed.
    With the GetControlValue and SetControlValue
    methods of the VI you can access all of the controls on the front panel.
    Remember that the values returned from the GetControlValue method are of type Variant.
    If you find you h
    ave some trouble getting data in or out of your (LabVIEW) ActiveX server app, you can also easily write a VI to access the server.
    Remember that if you want to run these, the ActiveX server (LabVIEW) and the VB client app, on a remote machine you must:
    Install on the target machine the LabVIEW RTE (which you can include with Application Builder.
    Running the server app once on the remote machine before running the client is a way for the server app to register itself (at least in LV 5.1).

  • A question about the multiple RS-232 ports with Labview program?

    Hi Sir/Madam,
    I am using ME9100/82 card from ICS electronics company to connect the computer with multiple
    instruments. I first connect card with ME-D9/8 on which there are 8 RS-232
    ports, and then use every port to connect one instrument. My question
    are :
    1. How can my program identify which port, i.e. what can I do in my
    program to send a command to port 1 not port 2, for instance?
    2. Can I send one command to the 1st instrument and the other command to 2nd
    instrument at the same time?
    3. I am using Labview to compile a program, and the version of Labview
    that I am using is 6.0. How can I implement send several commands to
    different instruments at the same time? Could you please provid
    e a simple example in Labview 6.0 for the multiple ports communication?
    4. Has any one used MKS 937A, MKS 600 Series and MKS 247 instruments? Could you please provide an example for displaying parameters in Labview 6.0?
    Thanks a lot.

    Under the Instrument I/O section of the Function Palette there is a indicator called VISA Resource Name Constant click on that and drag it to your diagram, right click and change it to a control. On the Panel this will automatically allow you to choose any ports available ( add in one for each port you want to use). Add in a VISA Configure Serial Port for each port and plug the terminal to the resource name into it then just add in the functions you what it to do (read, write, etc.) just as if it were the only port.
    Also on the panel side go under file on the toolbar and select vi properties, select execution, and where it says preferred execution system select other1 to allow each port function to run parallel.
    Attachments:
    example.vi ‏47 KB

  • How do I use directional PDA buttons in LabVIEW programs?

    Hi all,
    I've been assigned to get a LabVIEW program to work on a Palm PDA with LabVIEW 7.0 and palm PDA module 7.0.  I am basically totally new to LabVIEW, and my possibly very simple problem is, the PC program requires input from a serially connected number pad for the 8, 4, 5, 6, and 2 keys which are used as four directions (8, 4, 6, and 2) and an enter (5). 
    I am trying to rewrite the input vi to use the directional buttons and middle enter button on the PDA itself but am having trouble figuring out what to use.  I am using a PDA simulator because of the PALM OS5 we own.  The input demo vi example provided will not build for PDA because of size so I am unsure of how to approach this.  Another thing is, we have LabVIEW and PDA module for pocket PC 8.0, and a Dell Axim PDA on order.  From what I understand off of this website, the latest PDA module has example button vi's.  I would still like to figure out the way to do this on 7.0 so I can have a better understanding of LabVIEW.  Eventually the program's endgoal is to be used on a PDA and inputting with a bluetooth keyboard, but we are going step by step right now.
    I guess my biggest questions are, how do I assign the directional buttons on the PDA in my program, and will this differ greatly when we switch to 8.0 and pocketPC.
    Oh and I did try to look at the example asteroid.vi but from looking at the input subvi, still couldn't figure out how they assigned the buttons.
    Thanks,
    Stephen

    I can't help with any specifics (no access to the PDA module at the moment and I didn't use the buttons anyway), but I would like to say that it probably would make a big difference if you used LV 8. 7.0 was the first version of the PDA module and was extemely limited and problematic (it didn't even have a tab control). 7.1 was somewhat better and I understand that 8 is even better (although still very limited and buggy).
    I also remember reading about several differences between Palm and PocketPC and I think you will generally be better off with the PocketPC as it's related to windows and will probably support more stuff.
    Try to take over the world!

  • Can't find (and possibly don't have) the -lglut -lGLU -lGL libraries... or at least when I try to compile a program, it returns with that error.  Any ideas (I really need to get this popgen program running on Lion)? Thx!

    Hi all,
        I'm trying to compile a population genetic software program onto my Mac Lion.  It was originally compiled to Tiger and worked beautifully.  But now I'm getting an error  'library not found for -lglut', and now I'm trying to figure out how to download the library. I've installed the command line code for Xcode, and am thinking I possibly missed installing the libraries.  I could be very wrong here... all I know is that I'm no longer near the people I would ask to help me with this so I'm asking you!  Thanks in advance for any help!  I guess my questions are: 1) where can I download the glut (potentially OpenGL) libraries (if I don't have them already)? And 2) once downloaded, how do I install it so the makefile will compile my program (in terminal, not Xcode)? Cheers,
    C

    Certain Firefox problems can be solved by performing a ''Clean reinstall''. This means you remove Firefox program files and then reinstall Firefox. Please follow these steps:
    '''Note:''' You might want to print these steps or view them in another browser.
    #Download the latest Desktop version of Firefox from http://www.mozilla.org and save the setup file to your computer.
    #After the download finishes, close all Firefox windows (click Exit from the Firefox or File menu).
    #Delete the Firefox installation folder, which is located in one of these locations, by default:
    #*'''Windows:'''
    #**C:\Program Files\Mozilla Firefox
    #**C:\Program Files (x86)\Mozilla Firefox
    #*'''Mac:''' Delete Firefox from the Applications folder.
    #*'''Linux:''' If you installed Firefox with the distro-based package manager, you should use the same way to uninstall it - see [[Installing Firefox on Linux]]. If you downloaded and installed the binary package from the [http://www.mozilla.org/firefox#desktop Firefox download page], simply remove the folder ''firefox'' in your home directory.
    #Now, go ahead and reinstall Firefox:
    ##Double-click the downloaded installation file and go through the steps of the installation wizard.
    ##Once the wizard is finished, choose to directly open Firefox after clicking the Finish button.
    Please report back to see if this helped you!

  • I can not create an Installer, After install the Vision Builder Demo and then uninstall it. I can not create a Labview installer anymore, it asks me for a Vision Builder Installer, even if My Labview program does not have nothing to do with it...

    I can not create an Installer on LabView, After install the Vision Builder Demo and then uninstall it. I can not create a Labview installer anymore, it asks me for a Vision Builder Installer, even if My Labview program does not have nothing to do with it...
    Solved!
    Go to Solution.

     Hi Shada this can happen if you are including additional installers to your installer for example DAQmx. When you are doing this the installer has to include other files like MAX (Measuremente and Automation Explorer). Probably when you installed Vision Builder it updated MAX, so when your installer is trying to Include MAX, its asking for the source where it was installed in your computer in this case Vision Builder.
     Here you can cache the information so its not asked again, or you can download a newer version fo DAQmx, so it will update MAX and change de dependecy.
     You can find more details about this issue in this KB:
    KnowledgeBase 3S88PJMY: Why Do I Get A "Missing Distribution" Error When Trying to Build an Installe...
    And for keeping a copy here is more info:
     How Do I Stop the Missing Distribution Notification Each Time I Build An Installer?
    Best Regards
    Benjamin C
    Senior Systems Engineer // CLA // CLED // CTD

Maybe you are looking for

  • HERE'S HOW TO SHARE iCAL w/ MULTIPLE USERS on 1 Mac

    Here's how to share iCal calendars among multiple users on a single Mac. What you need to do is to move the iCal folder to a shared folder that is accessible to all users and then replace the iCal folder in each user's library folder with a "symbolic

  • YELLOW BANNER in Adobe Reader 9.3

    When trying to use A. Reader with a PDF created in Premiere Pro CS4 the Yellow Security Banner cannot be accessed until after the Instruction Dialogue Box is OKed. Not being able to access the Yellow Banner first prevents any play buttons from appear

  • Bean confusion - questions - beginner

    jsp A <jsp:useBean id="searchHeaders" scope="session" class="database.Tool"/> <p><c:out value="${searchHeaders.searchHeaderMap}"/> // This shows my bean info <p><a href="/<c:out value="${param.newID}"/>/searchTooling.jsp?newID=<c:out value="${param.n

  • PUrchase Variance

    Hi, i have a problem... i have check it, but until know not found the solution.. I have a PO and that PO is already MIGO and MIRO. for Example : in PO item A      qty 190     price : 1.3020 USD in purchase order history MIGO   - > qty : 190       Amo

  • Permanently erasing e-mails

    I have two e-mail accounts "gmail" and "hotmail". Is there any way to delete in a permanent manner e-mails that I do not want? My concern is that if I delete them from within the e-mail programs probably the operating system losses the reference of w