VIs from LabView libraries not found in .exe built with Application Builder

I have added VIs that are called by reference to the dynamic vi list in the App Builder, but some of them fail to run because of sub VIs that aren't found at runtime.
These sub VIs are from the standard LabView libraries. For example: "Open/Create/Replace file.vi", "Write Key (I32).vi", "Open File+.vi" and "Read File+ (string).vi". Also, a typedef "ADC.flx.ctl" can't be found(from the Motion CustomControls library).
Even if I have those VIs open when I compile all of my VIs (using Ctrl-Shift-Run), they can't be found when I run the executable.
Brian Smith
Advanced Light Source
Lawrence Berkeley National Laboratory

Are you running the executable on the development machine? If not, make sure that all the required drivers are installed on the target machine (i.e. NI-MOTION etc.).
The version of the LabVIEW Runtime Engine also has to be the same as the LabVIEW development version.
Under �Application Builder >> Target >> Build Options� make sure to choose �Single target file...�. This way all sub VIs will be compiled into the executable.
In LabVIEW 7.1 you can choose to �Disconnect type definitions�� under the �Application Settings� in Application Builder. Does it help to remove the checkmark?
Best regards,
Philip C.
Applications Engineer
National Instruments
www.ni.com/ask
- Philip Courtois, Thinkbot Solutions

Similar Messages

  • Error message "VI is not executable"! Need help with Application Builder

    Hello,
    I have a problem with an application, built with the Application Builder. I have read some threads about the problem I have, but I still don't know a solution.
    When I run my front panel from LabVIEW, everything is good. So, now I created an application (and an installer) to be able to run it on other PCs as well. This application does not work. Everytime I start it on my PC, I get the error "VI is not executable. ...". I read in several forums solutions for this error, but I cannot fix it! I've changed my properties for the builder, but with no success. Perhaps, anybody has more ideas, what's the problem.
    To get a better idea from my project, here a little description of it:
    In the block diagram there is a while loop which is continuously runned. In this loop I only set some properties for the layout of the front panel, such as decorations which will be hidden/shown and changes of colours of indicators... For the rest, it waits for a click on the button "Start" in the front panel. After that, a DLL is called to communicate with a USB device. Some measurements are carried out and the DLL is closed. I hope, you can get a global idea from my block diagram...
    I use LabVIEW 8.5, the DLL is a third-party DLL, which we wrote on our own. But I think the DLL works properly, if it is called from a C# application it works and it works, too, by calling it from LabVIEW when I am in development mode.
    It's a project for university and I'm just a beginner in LabVIEW, so I don't have so much experiences in it, but I think i improved my knowlegde about LabVIEW very well in the last weeks!
    So, i hope to get an answer soon (the deadline for the project is not soooo far away )
    If you need more information, please let it know...
    I would be very grateful if there is someone with a working solution...
    Kind regards from the Netherlands,
    Sebastian

    Sebastian,
    Your architecture makes it very difficult to debug this and other problems.  Does the error message mention which VI is causing the problem?  It is very important to wire your error clusters everywhere.  In LabVIEW, when a node throws an error (Error.Status = T), future nodes do not execute.  At the end, place an error cluster indicator that you can see on your front panel.  When an error posts, you can right click the indicator (even in a compiled application) and select "Explain Error".
    This is a start, but you really need to push this into a queued-state machine before this gets any more complicated.  As it were, if anything in your loop hangs, your whole application hangs.  See attached for a queued-message handler (not advisable for actual applications, but you get the point.  You would want to have a type defined enum in lieu of strings, and shared data between states differently, etc.)
    -Jason
    Message Edited by LabBEAN on 01-20-2009 08:36 AM
    Certified LabVIEW Architect
    Wait for Flag / Set Flag
    Separate Views from Implementation for Strict Type Defs
    Attachments:
    State Machine.vi ‏18 KB

  • LabVIEW: Resource not found. when running executable

    Hi,
    I've made a fully functional vi with LabVIEW 2009 (developer suite) and need to be able to run it on another PC without it.  I have downloaded LV Run-Time 2009, but when I try to run the executable I built, I recieve an error which reads:
    LabVIEW: Reasorce not found.
    An error occurred loading VI 'NI_AALPro.lvliberivative x(t).vi'.
    Labview load error code 3:  Could not load front panal.
    I can run the executable on another PC with LabVIEW no problem.  I've read somewhere about the need to stop the front panal from beng removed on sub VIs with Application Builder, although I don't think I have it.  I apologise in case this is a dumb question and I appreciate any help.
    Cheers
    Luke
    Solved!
    Go to Solution.

    Removing or not removing the front panel probably has nothing to do with your problem. My guess is that you did not create an installer. If you had, it would have included lvanyls.dll in a data folder under the folder where your exe was installed.

  • Labview: resource not found ; Specifically a VI located in my LV 8.2 Project I am trying to download to my FP-2000 and run.

    Hi, 
    I am fairly new to the LV Project method of building executable files and embeded applications. 
    I have been using LV 7.2 for the last few years and finally switched over to 8.2 this last summer.
    My problem is that I have an embedded application that I need to troubleshoot, but every time I try and run it from my desktop, it hits me with one of these messages:
    Deploying MPPT-Testbed  (successfully deployed target settings)
    Deploying ErrorConvert.vi  (already deployed)
    Deploying FP Close(IO).vi
    Failed to download FP Close(IO).vi
    LabVIEW:  Resource not found.
    LabVIEW:  Resource not found.
    The FP Close(IO).vi is the latest issue, I have had other files that have failed to load as well.  I have attempted to make a common folder for all of my shared VIs, I have 6 FP-2000 controllers. 
    Any ideas? 
    I run LV 8.2 w/RT on my desktop, my FP-2000 is running LV 8.2, FP Drivers 5.2.0 and FP VI Manager 4.1.0
    -Bill

    Hi Bill,
    Since you produced code in a previous version of LabVIEW, and therefore previous FieldPoint driver version, you will need to revamp your code a little to be able to use it in LV 8.2 with FieldPoint 5.0. I'm assuming that the FP Close.vi is not available in the palette that is not available in LabVIEW 8.2. This is expected, as FieldPoint 5.0 utilizes different VIs than previous versions. Accordingly, you do not need to use the FP Open or FP Close VIs, as they are not available in this driver version. However, you only need to use a Browse I/O Point and either a FP Read, FP Write or FP Read/Write. Generally, a quick modification of your code will take care of this problem. Let us know if you need help with this; a screenshot of your code might be helpful. Thanks!
    Amanda Howard
    Americas Services and Support Recruiting Manager
    National Instruments

  • Labview: resource not found error code 24 when building executable using 8.20 and dsc module

    I am trying to build an executable and I keep getting and error and cannot seem to figure out what is wring.  The whole error is "LabVIEW: resource not found.  An error occured loading "interface 3.vi"  Labview load error code 24:  this vi cannot be loaded because it is broken and has no block diagram."
    I am using LV 8.20 and DSC 8.2.  I am trying to create an executable that has the web server running for using remote panels, i have netowrk published shared variables, connecting to a fieldpoint unit, and I am using the NI system tray icon vis to load the program to the system tray.
    I have my shared variable library added as a support file, as well as the lvdsc.ini, and the tray icon files.  I have sleected "Enable Enhacned DSC run time support" in the app builder, did not remove any type def,etc.
    I cannot get the .exe to run on my development machine or another machine, I get the same error.  I tried creating an installer that installed the 8.2 runtime, dsc,fieldpoint, variable engine and manager and MAX.
    I could not find anything in the help files on the dsc, maybe someone else has some hints.  thanks
    Kenny

    Hi Kenny,
    I hope you are doing well today! What is interface 3.vi? Is it possible for you to post your project over here? Also, I would recommend creating a simple DSC application; and would like you to build it. Do you still get errors?
    Adnan Zafar
    Certified LabVIEW Architect
    Coleman Technologies

  • Can anyone tell me how to fix this error I am receiving: LabView: File not found. VI "Mobile Display.vi" was stopped at unknown " " at a call to "Mobile Display.vi"?

    Can someone help me please? I am receiving this error everytime I attempt to execute my application:
    LabView: File not found. The file might have been moved or deleted, or the file path might be incorrectly formated for the operating system. For example, use \ as path separators on Windows, : on Mac OS, and / on Linux. Verify that the path is correct using the command prompt or file explorer.
    VI "Mobile Display.vi" was stopped at unknown " " at a call to "Mobile Display.vi"
    Attachments:
    labview error.jpg ‏176 KB

    We cannot help without additional information:
    Are you running your code
    ...in the development system?
    ...as a standalone application?
    ...deployed to an embedded target?
    If it is a built application, do you explicitly include dynamically called VIs in the build specification?
    Who wrote the program? Do you have access to the code?
    How is this VI called? Is there sufficient error handling?
    Do you manipulate paths as strings or as proper path datatypes with the strip path/build path primitives etc.?
    Is it running on the same OS used to develop it ...
    LabVIEW Champion . Do more with less code and in less time .

  • QT libraries not found [Solved]

    I am having trouble compiling bibletime from the aur.  I download it then run makepkg, but I get the same error everytime:
    checking for Qt... configure: error: Qt (>= Qt 3.0) (headers and libraries) not found. Please check your installation!
    For more details about this problem, look at the end of config.log.
    make: *** No targets specified and no makefile found. Stop
    Now when I run pacman -S qt I get:
    :: qt-3.3.8-5: local version is up to date. Upgrade anyway? [Y/n]
    So I know its installed.  Any help on this?
    Last edited by semperfiguy (2008-01-12 20:09:15)

    Your qt-config is probably pointing at QT4 at the moment. As root:
    qt-config qt
    Then as your regular user before you compile:
    source /etc/profile

  • Conversion of VIs from LabView 2013 to 2011

    Hi,
    I would be grateful for conversion of zipped VIs from LabView 2013 to 2011.
    Thank You,
    Michal
    Solved!
    Go to Solution.
    Attachments:
    main VIs.zip ‏38 KB

    Here you go.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Attachments:
    main VIs 2011.zip ‏27 KB

  • Please Convert Vis from Labview 2013 to Labview 2011

    Please convert the attached Vis from Labview 2013 to Labview 2011
    Solved!
    Go to Solution.
    Attachments:
    Convert from2013 to 2011.zip ‏255 KB

    Here you go.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Attachments:
    Converted to 2011.zip ‏176 KB

  • Feedback file '.\Obj\LabVIEW.fed' not found

    Hi all,
      I am using luminary micro board LM3S8962 and i am using LABVIEW to program the machine when i was trying to run the program i am facing this error
    "Feedback file '.\Obj\LabVIEW.fed' not found". Can anybody help me out to solve this issue. And for your kind information i am just trying the sample programs.
     Regards,
     LENIN.

    Hi Kenny,
    I hope you are doing well today! What is interface 3.vi? Is it possible for you to post your project over here? Also, I would recommend creating a simple DSC application; and would like you to build it. Do you still get errors?
    Adnan Zafar
    Certified LabVIEW Architect
    Coleman Technologies

  • Sqlora11.dll not found when running Pro*C application on 11g server

    Hello,
    Here is my environment:
    Workstation: Windows XP (32bit) with Oracle Client 11g 32bit
    Server: Windows 2003 server 64bit with Oracle 11g 64bit
    I have a Pro*C program that I have been able to pre-compiled, compiled and linked on my workstation using Mingw/gcc compiler and standard include files (sdtio.h...) from MS Visual C++ 2005 Express Edition.
    Precompilation: E:\app\oracle\product\11.1.0\client_1\BIN\proc.exe iname=Fill_Translated.pc oname=Fill_Translated.c userid=xxx/yyy@my11gDB code=ansi_c parse=full mode=oracle dynamic=oracle lines=yes sqlcheck=semantics errors=yes sys_include="C:\Program Files\Microsoft Visual Studio 8\VC\include" include=("E:\app\oracle\product\11.1.0\client_1\precomp\public","E:\app\oracle\product\11.1.0\client_1\oci\include")
    Compilation: c:\mingw\bin\gcc.exe -c Fill_Translated.c -o Fill_Translated.o -Wall -I E:\app\oracle\product\11.1.0\client_1\precomp\public -I E:\app\oracle\product\11.1.0\client_1\oci\include
    Link: c:\mingw\bin\gcc.exe -o Fill_Translated.exe Fill_Translated.o -L E:\app\oracle\product\11.1.0\client_1\precomp\LIB\ -lorasql11
    The result is an executable file that gets connected to an 11g database hosted on a w2003 64-bit server, opens a table with blob fields and expands the blob content into a target table (one blob source record generates thousands of target records). Everything works fine when running from my workstation.
    For some reasons, this executable file must run on the O11g server itself. So I copied and pasted the executable file on the server and tried to run it. I thought it would work...
    But I get the following error message in a popup window: This application has failed to start because orasql11.dll was not found. Re-installing the application may fix this problem.
    At this point, I do not know anymore what to do to solve this problem !
    Does it come from the fact that the complete build have been done on a Windows 32bit platform and the server is a 64-bit platform ?
    Do I have to install a O11g 64bit client on my server to make it work ?
    Do I have to rebuild everything from the server, meaning that I must install a kind of development environment on my server (Mingw/gcc and so on) ?
    Is there something to change in the registry of the server or in the path environment variable so that this dll is found ?
    Any others ideas ??
    Thank you for your answers.

    Actually, I do not have any O11g client installed on my Oracle server. But the DLL exists in my $ORACLE_HOME/lib on my server, more precisely in E:\app\dev_ora\product\11.1.0\db_1\BIN.
    As I built my executable file on a win32 platform with O11g client 32bit installed, I was wondering if the same executable file copied onto the server was not trying to find the relevant 32 bit library on my win64 platform, which of course does not exists as I have only a 64bit version of this library !! Would-it be the cause of the problem ?
    Does an O11g 32bit client installation on my Oracle 11g 64bit server would solve the problem ? Any inconvenient to have on the same server both an O11g 64bit server and an O11g 32bit client if it appears to be the solution ?

  • HT1926 My itunes won't open because it says "This application has failed to start because MSVCR80.dll was not found. Re-installing the application may fix this problem" Can someone help? I don't want to delete it altogether due to needing the phone backup

    I was given notification to upload the latest version of itunes recently, so I clicked installed. However it has since corrupted my itunes and I get the error message:
    "This application has failed to start because MSVCR80.dll was not found. Re-installing the application may fix this problem".
    In poor timing, I have also accidently damaged my phone and have a new one to restore it to an old back up.
    It is because of this I am reluctant to completely delete itunes off my computer and start again for fear of losing my back ups.
    Is there another way to fix iTunes so I can open it again?
    Thanks

    Hey I finally got an older vesion of itunes to work!!! 10.7  x64 for windows 7
    After uninstalling all apple products even  quicktime
    I had to delete everything from (program files, and program  files x64, program data,)
    And all downloads from apple, and I went in to search deleted  other stuff from apple, and itunes
    But definently not my itunes library and Playlist
    Down loaded 10.7 x64 for windows 7, but checked (do not start  when done)
    Then I emptied my recycling bin and restarted my  PC
    I ran geek tech tool box same as reg cure pro, also PC Tools  registry cleaner, and CC Cleaner
    Then I emptied my recycling bin and restarted my  PC
    And wallah... It finally works, and I Love the older version  anyways.
    Easier to download and transfer  music!!!!!

  • Itunes update would not install due to an error, now itunes won't run and I get this message when I try to launch itunes: "This application has failed to start because MSVCR80.dll was not found. Re-installing the application may fix this problem"

    itunes update would not install due to an error, now itunes won't run and I get this error message when I try to launch itunes: iTunes.exe - Unable to Locate Component "This application has failed to start because MSVCR80.dll was not found. Re-installing the application may fix this problem."
    I'm on a Dell PC running Vista Home Premium.
    HELP!!!!!!!!!!!!!!!!!!!

    try removing all itunes and all other apple program
    follow this link for more info. http://support.apple.com/kb/HT1923
    reboot ur window after uninstalling
    after that download the latest itunes setup and install.

  • Error Message reads: this application has failed to start because MSVCR80.dll was not found. Re-installing the application may fix this problem.  I have re-installed, SO many times and I still cant open iTunes.

    Hi Support,
    I am becoming anxious because no matter what I try it doesnt seem to allow me to open itunes.
    Error Message reads: this application has failed to start because MSVCR80.dll was not found. Re-installing the application may fix this problem.
    I have re-installed, SO many times and I still cant open iTunes.
    Please help!!

    Click here and follow the instructions.
    (98888)

  • FILE not found error: j2ee/home/applib/applications-mapping.xml (No such fi

    Hi EveryBody
    i have my applications-mapping.xml file already in the applib directory, but when i try to conect to a remote ejb i had this error[b]
    FILE not found error: j2ee/home/applib/applications-mapping.xml (No such file or directory)
    can anyone help??

    gday
    Is the error on the client or server?
    What role in the application does applications-mapping.xml fulfill?
    How are you loading the file in?
    -steve-

Maybe you are looking for