Missing SubVIs when generating exe

When I open my project file, Labview searches for a bunch of VIs and then opens.  I have bee developing like this since I took over the code a couple of weeks ago.  I am able to run the program with no problems.  Now I want to generate an executable and/or installer with Labview 9 and it tells me that it is missing VIs.  I have edited quite a few built in VIs and I am not sure what VIs the programmer before me has imported.  All I know is that the program works and I have to install it on target machines.  Why won't Labview 9 let me create an exe or installer?  I never had problems with previous versions.
Please help.
Matt

Simpler Error Handler is in vi.lib\Utility\error.llb
Perhaps your .llb was corrupted in some way?  Check that file path and see if the Simpler Error Handler.vi exists in that .llb.
Search and replace pattern.vi is under that same library as well. 
The NI_report VI's are part of the report generation toolkit.  Is that toolkit installed?  Is it corrupted in some way?
I would suggest repairing your LabVIEW installation.
mattyk wrote:
I should mention that I edited quite a few of the report generation toolkit VIs that came with Labview so I could adjust the column width on a table for a printed report.  I mention this because I see that it can't find some of those VIs and am wondering if there is a link.  The errors occur on two separate machines.  Hope this helps.
That is a big problem.  You should never edit any of the VI's that LabVIEW provides.  If you need to modify them, then you should make new copies of them with a different name.  You probably either broke the libraries or somehow damaged the cross-linking between the subVI's.
Message Edited by Ravens Fan on 11-05-2009 11:34 AM

Similar Messages

  • 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.

  • 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

  • PDF has missing text when created from FM 9

    My Software:
    Windows XP Professional Version 2002 SP 3
    FrameMaker 9.0p255
    Adobe Acrobat 9 Pro Version 9.4.1
    When generating a PDF document from FrameMaker, the PDF document has random missing text, including whole paragraphs, sentences and some text in tables. We have several FrameMaker books and they are all having the same issues. These books were fine when we last published updates within the last month and we have not made any changes to fonts.
    When generating a PDF from FrameMaker, we always print the book to a postscript file first following these steps:
    - Go to File > Print Book.
    - Select the Adobe PDF printer.
    - Select the Print to File option and specify a .ps filename.
    - Select the Generate Acrobat Data option.
    - Use Acrobat Distiller to convert the PS file to PDF.
    Note that I also tried File > Save As PDF and got the same results.

    Did you reboot after the hotfix? fwiw, other users on the forum have had difficulty with the hotfix not being installed correctly the first time around.
    once you download the hotfix from MS you have to run the .exe, and then  when it’s finished you have to reboot. Then check the Add or  Remove programs in Control panel, and click the “show updates” button,  then scroll way down to see the hotfixes, to be sure that #952909 is  shown.
    What fonts are you using in your documents? Specific type (PS, TT, OTF) and any other info you have (foundry, etc).
    Do the "gaps" seem to occur when there are font changes in the document, e.g. when words in a sentence are bold or when a paragraph in a different weight (e.g. bold italic) follows, say, a "regular" text weight paragraph? As another test, can you highlight a segment of good+bad+good text in the PDF, do Control+c to copy it to the clipboard, then Control+v to paste it into a different file (Word, text editor, even another new FM document).  Do the words of the "missing" text segments show up?
    edit: the hotfix download process is a bit confusing; if I remember correctly it has to be requested, then MS sends a link to the download webpage, then the downloaded .exe has to be run.

  • 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

  • Error while deploying web role - Invalid application runtime - a runtime component is missing:/base/x64/IISConfigurator.exe

    I have Azure SDK 2.5 installed and when I try and publish my web role from VS 2013, it fails. When I manually upload the package and config through the Azure Portal I get the error:  "Invalid application runtime - a runtime component
    is missing:/base/x64/IISConfigurator.exe".
    I have tried uninstalling and re-installing the Azure SDK with no change in the error.
    Any ideas how I can troubleshoot this?

    I uninstalled the SDK, and tried to create a new cloud servce using the WCF service project template. The new project still gives me the same error:
    The file provided is not a valid service package. Detailed error code: WCFServiceWebRole1 Invalid application runtime - a runtime component is missing:/base/x64/IISConfigurator.exe.

  • "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

  • I have Adobe Photoshop Elements 5.0 and am trying to upgrade to 13 - getting error message that "file archive part" of Adobe 13 is missing. When I try to download installers for older products it only goes back to v7, not v5 what to do next?

    I have Adobe Photoshop Elements 5.0 and am trying to upgrade to 13 - getting error message that "file archive part" of Adobe 13 is missing. When I try to download installers for older products it only goes back to v7, not v5 what to do next?

    TDFields you will want to ensure the 7z and exe file are in the same folder/directory.  You can find more details at Find a download link on Adobe.com.

  • Missing data when exporting to "MS Word (*.doc)" and "RTF (*.rtf)"

    Hello,
    We are using CR XI R2 SP3 in our product.  The reports that we generate (using ODBC dsn) show URLs from the database as hyper link text fields.  When we export the report to "Microsoft Word (.doc)" or "Rich Text Format (.rtf)" format, even though the export operation succeeds, the report is missing data when it encounters a URL that looks like following.  There is basically no data after that URL.
    http://www.xyz.com/kType=t;s.linkName=n;s.t()};s.ssl=(s.wd.location.protocol.toLowerCa
    And when it encounters a URL like following, MS Word complains that the file is invalid even though the export succeeds.
    https://www.xyz.com/m));if(m%3E0&m!=e)if(parseInt(c.substring(m+1,e%3C0?c.length:e))%3Cd.get
    If we export the report to pdf format, then everything works just fine.
    Any help on this will be highly appreciated.

    Hi Sumit
    Try to set the URL field with the RTF format. To do this try following:
    1. Right click the field->Format Field.
    2. Click the paragraph tab->Text Interpretation->RTF Text
    Now try to export it.
    Hope this helps.
    Regards
    Nikhil

  • Adding Engine component causes: "Compiler errors occurred when generating a Windows Forms wrapper...​"

    I got this error when I tried to drop a TestStand Engine class onto my main form in VisualStudio.NET.
    Compiler errors occurred when generating a Windows Forms wrapper for ActiveX control 'AxNationalInstruments.TestStand.Interop.API'
    The error message went on to say that it saved the source in ./obj/AxInterop.TS.cs so I added that to the project. When I try to build it, I get this error:
    The designer must create an instance of type 'System.Windows.Forms.AxHost' but it cannot because the type is declared as abstract.
    I am using TestStand 3.0 evaluation, Version 7.1.3088 of Microsoft Development Environment 2003, and .NET Framework 1.1 Version 1.1.4322 SP1.
    Is this aximp.exe problem?
    Can someone suggest how to fix this?
    Thanks,
    Jeff

    TestStand installs pre-built interop wrappers for the TestStand engine and all the TestStand UserInterface controls. You can find them in \API\DotNet\Assemblies\CurrentVersion\.
    However, the best thing to do is usually to add the ApplicationMgr control to your .NET form and then call form.axApplicationMgr1.GetEngine() to get the engine. Doing this automatically adds references to the interop assemblies to your project. You can find this control in the TestStand tab of your .NET toolbox when you have a form active.
    Ideally, you should start with the .NET simple operator interface examples which are in \OperatorInterfaces\NI\Simple\CSharp\ and \OperatorInterfaces\NI\Simple\VB.Net\
    - James

  • BSP Exception: Missing reference when converting data object ZZxx

    Hi there,
    I have created these new Z fields and tried to include them in a field group. These fields did appear, but they are highlighted with a red box, with the above text in the tool tip.
    Does anyone know what it means??
    Thanks

    I believe they were generated by EEWB - or could've been added manually to the CRMD_CUSTOMER_H. This error only occurs on the Currency fields...something to do with reference field but I just can't find what is wrong with this. I searched up SAP notes and found the following the closest match: -
    <b>Symptom</b>
    when trying to scroll down in the result list in the F4 for the Ibase the error error "BSP exception : Missing reference when converting data object amount.  Correct the entry" occurs.
    <b>Other terms</b>
    CRMT_BSP_IBASE_TREE_NF, data object amount
    <b>Reason and Prerequisites</b>
    This happens due to inconsistancy in structure
    <b>Solution</b>
    Please follow the below steps manually.
    1. Go to tx:SE11
    2. Select data type "CRMT_BSP_IBASE_TREE_NF" in change mode
    3. Select component AMOUNT in 'Components' tab
    4. Go to "Currency/quantity fields" tab
    5. Replace 'Reference table' entry from 'CRMT_BSP_IBASE_DETAIL'
       to 'CRMT_BSP_IBASE_TREE_NF'
    6. Save and activate

  • Captivate 5 Crashes (Unhandled win32 Exception) when Generating Loquendo TTS

    I consistently get “An unhandled win32 exception occurred in AdobdCaptivate.exe” when Generating a TTS with Loquendo and my VS2010 JIT kick in to “help”.  No dump, nothing in the log.
    I have a 1 slide test project trying the quality to the TTS engines.  The MS and NeoSpeech allow me to generate an audio file, but using the Loquendo voice (any of them), I get a “Test-to-speech Progress” dialog, followed by the exception and Captivate closes.  I installed both the NeoSpeech and Loquendo from the Adobe site, along with the Captivate trial.
    Any ideas where to start debugging this?

    Resolved! 
    This problem has been resolved and I want to thank for posters for pointing me in several directions to look.  As some of you suspect, the problem had nothing to do with Captivate 5 or Loquendo, except some bad behavior by not handling an Exception.
    The root cause was several .Net Framework 4.0 BETA DLLs hanging around.  This particular machine had several incarnations of .Net Framework installed, uninstalled and reinstalled.  Digging deep into the registry, I find some beta code still getting loaded into GAC.  My solution was to trash this users’ PC and reinstall a fresh copy of the OS (it’s a sandbox machine anyway).
    After installing a clean copy of the OS, all the maintenance and upgrades, including .Net Framework 3.5 SP1, Captivate 5 (and friends) worked properly.
    Again, thanks for the support.
    Regards,
    Jon

  • 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

  • Error: Internal Erorr when generating the history. Use a different view.

    Hello,
    When I am trying to open an workbook in BEX. I get the message: Internal Error when generating the history. Use a different view.  (production system)
    How can I solve this problem? And what could be the reason? In our Development and QAS everything is OK!
    Regards,
    Boyke

    hi
    If nobody have change or write access in prod, then
    ensure that everything is OK in QAS,
    Execute the workbook and views in QAS.
    If it works fine there, some thing is missing in the transported objects.
    Ensure everything is transported correctly
    Thanks
    N Ganesh

Maybe you are looking for

  • Has anyone else bought a refurbished mac, to still have all the apps belong to the old AppleID?

    I just got my new MacBook Air that I purchased from Apple refurbished. I can not update any apps as it says my AppleID is not the purchaser. Has anyone else run into this issue? Support is telling me to do a full erase and reinstall. Shouldn't that h

  • SPED functionality in ECC 6.0

    Can anybody throw some light on the new SPED functionality in ECC 6.0. Would appreciate any documentation. Thanks Andrew

  • Lo cockpit---doubt plz

    Hi All, i have changed a Datasource in Lo cockpit...by adding a field to the extract structure and then i even regenrated the datasource in Dev as well and then activated it now after the change its green and i even checked the datasource in rsa3 now

  • Calls in queue drop when first call is answered

     When all agents are busy and there are multiple calls in queue, at the point a call gets routed to an agent and answered from queue, the other calls in queue hear the disconnect prompt. This is CME 9.1 on  Version 15.0(1r)M16 application  service qu

  • Is this setup possible with airport extreme?

    I have airport extreme in my office, this is connected to my cable modem. I have a ethernet cable at the wall that goes to my On-Q box which is basically the point in my house where all the wires in my house run to. Here I have several other rooms wi