Executable - Missing subVIs on Build Computer

Hi there,
I've managed to generate an executable to run the LabVIEW VI.  However, an error message pops up saying that I'm missing 20-odd sub VIs.  I'm trying to run the .exe on the build computer (before I move elsewhere).
These sub VIs are all present in the Dependencies list.  Have I missed something?  Suggestions? 
Cheers.

The Report Generation Toolkit actually dynamically loads in classes, so you have to force them to be in your executable.  You do this by adding the libraries from vi.lib to your project and then add them to the "always include" in the build spec of the executable.
I'm not sure about the mySQL as I have not used that library.
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines

Similar Messages

  • Missing subVi after build in llb

    I have a top level application that dinamycally calls some Vi contained in a llb library.
    Running the app from source works fine. If I build an application the dinamycally loaded VIs open with the broken arrow. If I click the arrow I see that some subvi are missing:
    Block Diagtram Errors:
     Poly VI 'Read From Spreadsheet File.vi': subVi is missing
     SubVI 'Merge Errors.vi': subVI is missing
    I build the application including the llb as 'Always included' under source files.
    What should I do to have all the llb subVI included or correctly linked ?
    thank you
    Gianpiero
    LV 8.5 + DSC

    Ciao Gianpiero,
    you can take a look at this document:
    Creating a Source Distribution, Application Distribution, or LLB in LabVIEW 8.0
    Hope this can help.
    Regards,
    Andrea N.
    Andrea N.
    Systems Engineer ATE & RF - Mediterranean Region
    National Instruments Italy

  • Vision EXEcutable does not work on host machine (missing subVIs)

    Hello,
    I am working on LabVIEW 10 / vision 11. I am making a VI to take a picture with USB camera and I built this application to create an executable.
    This executable works fine on my computer (which has LabVIEW installed) but does not work on other a host machines. 
    I tried to run this application on another computer with LabVIEW installed and it worked fine.
    On host machines, it keeps telling me that I have missing subVIs (only vision subVIs !!). All my other executables without vision VIs work fine...
    Do I need a license on my host machine to run my executable?
    Do you have any other idea?
    Thank you!
    Nicolas.

    On a target machine, you need the LabVIEW runtime engine and a the Vision Acquisition Software installed to run an executable. The LabVIEW runtime engine doesn't cost anything but you still need to pay for the license of Vision Acquisition Software.
    The NI VAS can be downloaded from here:
    http://joule.ni.com/nidu/cds/view/p/id/2975/lang/en
    Adnan Zafar
    Certified LabVIEW Architect
    Coleman Technologies

  • Missing subvi in vi.llb

    Stand alone EXE creation issue :
    My main application (a.vi) call the another (b.vi)VI  controls in 'Call by reference' Method. The application works fine in development computer.  When creating the exe and executing in the same development system the (b.vi) has broken arrow and show the error  - Missing subvi
    'Clear errors.vi' , 'Search and Replace Pattern.vi'  - Which is present in vi.lib/utility / error. llb 
    Write To Spreadsheet file (DBL).vi - Which is presnet in vi.lib/utlity/ file.llb
    and few more.
    I can see this files in the folders also I can see them in my project explorer - Dependencies folder  and I have no idea why this files are not linked during exe creation.
    Please give me some suggesstions

    This issue is not caused by a corrupt RTE and repairing won't fix it.  The issue is that the RTE has no idea what or where vi.lib is.  Anytime you are trying to call a VI from the RTE, the VI must have access to all of its dependencies directly and not from vi.lib.  When a VI is saved it knows the relative path from itself to its subVIs if they are user created.  For VIs that are inside vi.lib the top level VI saves a path relative to the vi.lib directory.   When we create a build with App Builder we load all of the dependencies of the top level VIs and always included VIs and save a new copy of them for the build to use.  All of the paths to these VIs are now saved locally and not in vi.lib.  What is sounds like is happending is that when you try to dynamically call your b.vi it has dependencies that the executable doesn't know about; moreover, the RTE doesn't know about vi.lib so it appears broken.
    There are a couple of options that you can do
    1. Make sure that your dynamically called VI is added to the always included section when building the application.  This tells application builder that it needs to make sure all of the VIs dependencies are included in the build and the VI knows where to find them.
    2. If you don't want to include your dynamically called VIs in your executable build you will still need to create a separate build of your dynamically called VIs.  This design is commonly used for plugin architectures where you will be adding functionality to the program after it is deployed.  The separate build specification can be a source distribution.  When creating the source distribution you will need to make sure that you have the checkbox for "Exclude files from vi.lib" NOT selected (you will also need to uncheck the boxes for user.lib and instr.lib if you have dependencies from there).  This tells application builder to make sure and include all of the dependencies in the build so that the included VIs have all of their dependencies and can be run by the RTE.
    Regards,
    Jon S.
    National Instruments
    LabVIEW R&D

  • Labview Application missing SubVI's, totally stumped

    Hello. I am working on a VI that is a simple thermocouple datalogger. I have created it in Labview 2013 (latest patch) on a Windows 7 Machine. It works correctly on the development machine with Labview installed. It uses custom drivers for an Advantech USB 4718 data acqusition module. These drivers were downloaded directly from the manufacturer. 
    When I build an application and copy it over to a different machine (running windows 8) I get a laundry list of missing SubVIs when I try to run it (see image). This is despite installing all relevant data aquisition drivers (I have verified that the module works with the manufacturers own daq software) the latest version of Labview 2013 run time engine, DAQmx, etc.... I can't think of anything else that should be installed but Im totally stumped. 
    Anything else I can try? Is it because the Dev machine is windows 7 but the application machine is windows 8? I'm new to building applications from labview, so I'm not sure what I may be missing. Thank you.
    Error Message(s)

    It seems that most of these VIs are used by the DAQNaviAssistant from Advantech.
    You should ask Advantech if there are known issues when building executables in LV which contain these ExpressVIs.
    Also, you can re-build your EXE without optimizing the EXE content by de-selecting all checkmarks on the "Additional Exclusions" tab. It is possible that one of these options remove these subVIs.
    What bothers me is that it runs on the development machine... which indicates that the EXE itself should really contain everything what it needs (except driver functions, namely DLLs of course).
    Norbert
    CEO: What exactly is stopping us from doing this?
    Expert: Geometry
    Marketing Manager: Just ignore it.

  • Missing subvi from ni_aalbase.lvlib

    I have a source distribution which I'm using in my executable application through dynamic VI calling. However, I cannot run the specified VI. It gives me a bunch of errors saying subvi is missing in ni_aalbase.lvlib and ni_aapro.lvlib. I can see both libraries under the "dependencies" section of my project explorer but they are inside vi.lib which is excluded from being copied into the source distribution. Why cannot it find those missing subvis?   
    Attachments:
    subvimissing.png ‏46 KB

    I've attached an example set to show the kind of the problem I am facing.
    The module I'm calling dynamically is in the folder "Test Module".  The actual executable is in the folder "Call Module".
    -Run "Call Module/builds/Call Module.exe"
    -A dialog box asking for the dynamic vi to call will pop up. Select "Test Module/builds/Execute.vi"
    -You'll see Labview ask for path to the missing subvis. If I include the whole NI_aalBase.lvlib and NI_aalPro.livlib, this won't happen and the vi will execute properly and count up to 500.
    Attachments:
    SP_Dynamic_PROB.zip ‏349 KB

  • Missing subVI NI_AALBase.lvlib:Mean.vi

    This is a duplicate post, but the other was a response to a 4 year old posting.  I have an application that was originally written in LV 8.x that I have just modified with LV2009.  I am now getting the same error reported in this thread, that being "Missing subVI NI_AALBase.lvlib:Mean.vi".  In the Additional Exclusions section of the Build Specification I unchecked "Remove unused members of project libraries" and "Remove unused polymorphic VI instances", but I am still getting the error.  I am not doing anything fancy, I just have a project that has 3 VIs that use Mean.vi.  It worked fine in LV8.x, but not after building with LV2009.  I even tried replacing each instance with mean.vi, to no avail.  Has NI found the root cause of this error?
    Jim
    LV 2013

    I found the computer that was originally used for the development of this test and made my changes to the original code.  It works OK, but I'd really like to find actual the problem so that I can use my normal development computer for future changes without having to do workarounds like that.  If I get a chance I'll give that a try just to see if it would work.  Thanks.
    Jim
    LV 2013

  • How to find & repair the missing Subvis in EXE ?

    I m literally breaking my head due to the above-stated problem.
    When I try to build the EXE & run it, the message in the attached png pops-up & thats the end of it.
    This problem started when I installed both the 8.2 & 8.5 evaluations in my PC before a month or so...
    I didnt care much about the problem because I thought it might ve been due to the two evaluation installations.
    But today when my evaluation expired & I built the EXE using my LV 7.1 PDS & ran it, immediately the same thing happened as before. Now, it is quite annoying me much. I repaired, reinstalled LV 7.1; still of no use. I again uninstalled every NI stuff using the msiblast.exe & reinstalled LV 7.1 alone in my PC. Then also, this problem erupted again.
    Please see to the picture & suggest me some solutions regarding this...
    Using LV 7.1, WinXP, SP2.
    - Partha
    LabVIEW - Wires that catch bugs!
    Attachments:
    Cosine Integral.vi missing.PNG ‏5 KB
    Missing subVI.PNG ‏36 KB
    Gamma Function.vi missing.PNG ‏5 KB

    It has been a repair/reinstallation job for the umpteen time today. So, in my guess, it would ve set/reset the necessary file permissions to default. I had already tried the time-tested method of copying/pasting manually the lvanlys.dll into the "data" folder. After doing it also, I got the same error.
    Normally, LV doesnt put these dlls intothe "data" folder, unlike what you told earlier [maybe in LV 7.0, but not in LV 7.1]. I m quite sure about that because the run-time engine takes care of all the necessary LV dlls required by the EXE [whether stand-alone or installed on a non-LV installed PC]. IMO, that is the job of the run-time engine, after all...
    So, tomorrow as a first thing, I d contact NI to fix up this.
    But any help from you is still much appreciated.
    - Partha
    LabVIEW - Wires that catch bugs!

  • Missing subVI DAQmx Create AI Channel TEDS(sub_.vi DAQmx Create Channel( TEDS-AI-Voltage-Basic). vi.

    Hi,
        I have seen several discussion regarding this topic, however it seems that none of the solutions are working for me. Here is my situation, i am using LabView 7.1 which I use to generate my .EXE, when I generate my .EXE I use the Tab Intaller Settings to generate the Setup.msi. I then take the folder which contains the .EXE and the installer and bring it over to another machine which is running VM Ware with a freshly installed windows XP. (to make sure nothing is on the machine and then i get surprise at the custormer's site)
       Once this was done, i would start by lauching the installer and then the .EXE the result was the following, I would get the following message:
    Missing subVI DAQmx Create Task.vi in VI instance      1    3tst
    .vi.
    Missing subvI DAQmx Create channel (TEDS-AI-Voltage-Basic).vi
    in VI Instance 1   3tst.vi.
    Missing subVI DAQmx Create Channel( AI-Voltage-Basic).vi in VI
    instance    1   3tst.vi
    Missing subVI DAQmx Timing(Sample Clock).vi in VI instance
    1   3 tst.vi
    Missing subVI DAQmx Read(Analog 1D Wfm NChan nSamp).vi in
    Vi instance   1   3tst
    then as suggested in other discussions of this forum I download (537MB) and installed
    on the target machine (VM Ware) the nidaq710 which i downloaded from
    http://digital.ni.com/softlib.nsf/websearch/C1F802E457EA042586256DD00001B0C9?opendocument&node=132070_US
    This did solve some problems BUT I am still getting the following message when I launch the EXE
    Missing subVI DAQmx Create AI Channel TEDS(sub).vi in VI DAQmx Create
    Channel(TEDS-AI-Voltage-Basic).vi.
    Thank you
    Maldini

    Hi Maldini,
    Thank you for posting to the NI forums.  Is the VM Ware PC using the same operating system as the development PC?  Also, are you using DAQmx 7.1 on the development computer, or are you using a more recent version?  When distributing applications, the driver version on the deployment PCs must match the driver version of the development PC. 
    If this is already the case, then you shouldn’t be receiving any of these error messages.  There are few things that may fix this problem.
    Reinstall the DAQmx driver.
    Perform a repair install the DAQmx driver on the deployment computer.
    Upgrade the DAQmx driver on both the development and the deployment PCs.
    With Windows XP and LabVIEW 7.1, you are able to use the latest version of DAQmx, which is currently DAQmx 8.5.
    After going through these steps, please post back if you continue to have problems.
    Ed W.
    Applications Engineer
    National Instruments

  • "Open VI Reference" Option "Prompt user to find missing subVIs"

    I am using "Open VI Reference" to dynamically load a VI. For the "option" control of the "Open VI Reference" node, I pass "0x10" or "10" in hexadecimal, which supposedly "prompt user to find missing subVIs." Nevertheless, I don't get a prompt message dialog when I intentionally pass an invalid or missing VI path. Instead I just get an Error Code 7. What does this option "Prompt user..." suppose to do?

    Make sure you set the properties on the integer input into the “options” control to the “Open VI Reference” to be a Hexadecimal format (right-click on the “options” control input, select Format and Precision…, then select Hexadecimal). Now, if you re-run your VI and wire in a VI with a missing subVI, the Open VI Reference will appear with a dialog that will prompt you to browse to the missing subVI. This is exactly the same message LabVIEW displays when it attempts to open a VI and cannot find its subVIs.
    I’ve attached a simple example program to demonstrate. Enter the path to the “number extractor.vi” as the VI to open. You should see a dialog prompt appear asking for the “Search 1D Array – Complete.vi”.
    Hope this helps!
    Attachments:
    openVIRefExample.zip ‏20 KB

  • New update on my iTunes 8.2 computer. Sync my iPads on the computer missing playlist on my computer ??? Need help. Worst update ever   

    new update on my iTunes 8.2 computer. Sync my iPads on the computer missing playlist on my computer ??? Need help. Worst update ever   

    Hello there, dancingteacher.
    Removing and re-installing iTunes can be a challenging endeavor and has to be done in a very particular way. The following Knowledge Base article provides a clear, step-by-step process of removing iTunes:
    Issues installing iTunes or QuickTime for Windows
    http://support.apple.com/kb/ht1926
    The "Additional Troubleshooting" section also includes a link to updates and conflicts with software for your Windows Operating System as well.
    Thanks for reaching out to Apple Support Communities.
    Cheers,
    Pedro.

  • AFPASSWD & AFTBLGEN executables missing in $FND_TOP/bin in R12.1.3

    Hi all,
    DB:11.2.0.3.0
    EBS:12.1.3
    O/S: Solaris Sparc 64 bits
    After cloning from source instance, AFPASSWD and AFTBLGEN executable missing in $FND_TOP/bin in R12.1.3 in the target instance.
    /t000/test1/apps/apps_st/appl/fnd/12.0.0/bin]
    $ ls -ltr AF*
    AF*: No such file or directory
    How could we get the above executable back?
    The error message below occurred while applying patch 17287546:R12.FND.B
    ============================================================
    Done with link of rg executable 'RGSSRQ' on Thu Nov  7 09:29:42 GMT 2013
    Done relinking module RGSSRQ in product rg
    Done with link of product 'rg' on Thu Nov  7 09:29:42 GMT 2013
    adrelink is exiting with status 1
    End of adrelink session
    Date/time is  Thu Nov 7 09:29:42 GMT 2013
    Line-wrapping log file for readability ...
    Done line-wrapping log file.
    Original copy is /t000/test1/apps/apps_st/appl/admin/test1/log/adrelink.lsv
    New copy is /t000/test1/apps/apps_st/appl/admin/test1/log/adrelink.log
    An error occurred while relinking application programs.
    Continue as if it were successful [No] :
    adrelink.log
    ld: fatal: file processing errors. No output written to
    /t000/test1/apps/apps_st/appl/fnd/12.0.0/bin/AFPASSWD
    *** Error code 1
    make: Fatal error: Command failed for target
    `/t000/test1/apps/apps_st/appl/fnd/12.0.0/bin/AFPASSWD'
    Done with link of fnd executable 'AFPASSWD' on Thu Nov  7 09:26:45 GMT 2013
    Relink of module "AFPASSWD" failed.
    See error messages above (also recorded in log file) for possible
    reasons for the failure.  Also, please check that the Unix userid
    running adrelink has read, write, and execute permissions
    on the directory /t000/test1/apps/apps_st/appl/fnd/12.0.0/bin,
    and that there is sufficient space remaining on the disk partition
    containing your Oracle Applications installation.
    Please share the fix if anyone has faced before.
    Thank you for your time.
    Regards,
    user10088255

    Hi,
    Please see the following note:
    AFPASSWD Relink Fails While Applying Patch 14265552 (Doc ID 1499357.1)
    AFPASSWD Relink Fails While Applying R12 Patch with error undefined reference to `iifgcg' (Doc ID 1499357.1)
    Relinking of Executable 'AFPASSWD' has Failed with Error 'Undefined Reference' (Doc ID 1498187.1)
    Master Note - Troubleshooting Adpatch Relinking Errors (Doc ID 1523589.1)
    Thanks &
    Best Regards,

  • I am missing the Preview Builds option...

    My Windows 10 installations are all missing the preview builds option and the build versions are not updating. Do I have a group policy setting in the way?

    That seems actually like good design from Microsoft. I don't want a non-admin user to have any way of upgrading their PC - that should be solely reserved for admins.  And it's not like the option even appears for the user, so they won't know what
    they're missing.
    In the Modern UI, there's no way to elevate (I believe that's the word you're looking for) user's rights - you either have it or you don't.  So all one can do is show what you can access, and hide the rest.   

  • [svn:fx-trunk] 9554: Checked in missing files that build 71 of TLF needs.

    Revision: 9554
    Author:   [email protected]
    Date:     2009-08-24 15:51:44 -0700 (Mon, 24 Aug 2009)
    Log Message:
    Checked in missing files that build 71 of TLF needs.
    QE notes: None
    Doc notes: None
    Bugs: None
    Reviewer: None
    Tests run: ant checkintests
    Is noteworthy for integration: No
    Added Paths:
        flex/sdk/trunk/frameworks/projects/textLayout/textLayout_conversion/src/flashx/textLayout /conversion/FXGExporter.as
        flex/sdk/trunk/frameworks/projects/textLayout/textLayout_conversion/src/flashx/textLayout /conversion/FXGImporter.as
        flex/sdk/trunk/frameworks/projects/textLayout/textLayout_core/src/flashx/textLayout/eleme nts/GlobalConfiguration.as

    Thats good news.

  • Missing purchases on new computer

    I got a new windows 7 computer and liked it to my existing Itunes account  Many of my Itunes purches are missing on the new computer.  any ideas?  Thanks!!!!
    suuuuuuuuu

    Hi sueofasheville,
    If you are having issues transferring your iTunes music from a previous computer, you may find the following article helpful:
    iTunes: How to move your music to a new computer
    http://support.apple.com/kb/ht4527
    On the other hand, if you are just missing a few specific purchases, then this article may be more useful:
    Apple Support: Download past purchases
    http://support.apple.com/kb/ht2519
    Regards,
    - Brenden

Maybe you are looking for