Application Builder error in LabVIEW 7.0

I am maintaining some legacy code in LabVIEW 7.0.  I have recently (perhaps within the last month or so) been getting Error 1003 in Dist Copy Non-VI Files.vi (part of App Builder) when building my code.  I've done some testing, including trying to build much simpler VIs, and get the same error.  Curiously, this occurs on multiple (Windows XP SP3) machines, both "real" and "virtual", including on two of three installations on a single PC (so it is not hardware-dependent).
I have a strong suspicion that the problem is neither my code nor LabVIEW itself, based on the following logic:  1) This problem arose on multiple PCs at about the same time (i.e. I don't recall seeing this a few months ago, now I see it on almost all of my PCs).  2) There are two PCs where I do not see this error -- when I check the LabVIEW installation files between a PC that "works" and one that doesn't, the differences seem (to me) to be small, more related to "what did I do most recently" or "how much of MAX did I install, which drivers".  (3) Using or not using OpenG in my code mades no difference, nor does turning off Anti-Virus scans.
I tried two other things.  First, I have a VM that I recently build (which I think is significant) that has both LabVIEW 7.0 and LabVIEW 7.1.  The build fails with LabVIEW 7.0, but succeeds with LabVIEW 7.1.  In addition, I found a VM, built a year ago and "sitting idle", with LabVIEW 7.0 on it.  I fired it up, did not allow Microsoft Update to update anything, and tried the build with LabVIEW 7.0 -- it worked!
My current working hypothesis is that some "patch" installed by Microsoft (.NET? ActiveX?) has clobbered something in the LabVIEW 7.0 Build Application.  Unfortunately, the VIs that make up this application are password-protected, so I can't see "inside" to discover what file or other condition is responsible for the error message.
Does anyone have any ideas or suggestions?  [Don't suggest "Upgrade to 7.1" -- I'm the only "maintainer" of multiple PCs and multiple applications, some of which run on systems "belonging" to other people.  I am in the process of rewriting the code in "modern LabVIEW" (2011) and will port it widely, but until then, it's not practical (or "politically correct") to make the 7.0 -> 7.1 shift ...  Besides, my curiousity is piqued!]
Bob Schor
Solved!
Go to Solution.

Good point.  The reason for my "laser beams" is several fold.  First, I follow a written protocol (I wrote it!) whenever I install or re-install LabVIEW 7.0, so I'm pretty sure that all of the installations "should be consistent" (if not identical).  Second, I compared two NI folders in Program Files between a version that worked and one that didn't, and while there were differences, it seemed "not likely" to be an explanation.  Third, I'm 99% sure that at least one of the systems that now cannot build (of the eight installs, all by me, that I've checked, only three worked, and one was on a PC that hadn't been turned on in over a year, hence was certainly not updated) was able to build previously (i.e. I don't recall seeing this problem until about a week ago, when I started re-building an update to my legacy application).  It is possible that this problem was always present on these systems, but doesn't seem likely.
Nevertheless, before the beginning of next week, I plan to take one of my "failing" systems, uninstall LabVIEW (but not change the OS in any way), reinstall it, and see if I can build.  If this still fails, I'll take the "old" system I mentioned above and start bringing it "up to speed" until I "break" the App Builder.  Note that it is possible that MicroSoft is not to blame -- I have other software (such as editors, utilities like WinZip, etc.) that have also been updated, and one of them might have clobbered the Builder.
Will let you all know what I find.
Bob Schor

Similar Messages

  • Application builder error 1055

    ed. cross-post: http://lavag.org/topic/18047-application-builder-error-1055/
    Hello everyone
    I have a big problem with building applications lately. The build is running fine until the end, when it throws:
    Error 1055 occurred at Property Node in VISL_findDependentVISvr.vi->VISL_findAndProcessVISvrList.vi->VISL_detectAndCopyVISvr.vi->AB_Engine_Copy_CustomIOServer_Files.vi->AB_EXE.lvclass:Copy_Files.vi->AB_Build.lvclass:Build.vi->AB_Application.lvclass:Build.vi->AB_EXE.lvclass:Build.vi->AB_Engine_Build.vi->AB_Build_Invoke.vi->AB_Build_Invoke.vi.ProxyCaller
    Possible reason(s):
    LabVIEW: Object reference is invalid.
    Has anyone seen this error in app builder? Does anyone have any idea how can I resolve this problem?

    Lennard, Valko
    I'm using LV 2013 f2. Let me give you some more details and... The story how I fixed it:
    The project is pretty big (~1500 VIs) and highly object-oriented (~300 classes). It has RT (PXI) and PC part. Some of the classes are shared between PC and RT. The problem with build was present only on PC - build for RT was ok.
    I had DSC module installed, but it was not used in this project at all. Despite that, when I found information from Lennards link, I've tried to build it using "Enable Enhanced DSC Run-Time support". It didn't help. I started to wonder if the sharing of classes between RT and PC has something to do with the problem. So I refactored the project, splitted it into two projects (one for PC, one for PXI) and reduced number of shared classes (especially some specific classes, which implement "threads"). Afterwards, the build could be done just fine, but only in those refactored projects.
    Now for the plot twist: before refactoring, I've tried to build the project on another computer. It was build without any problems! So I started to look for the differences. First of all, just before the build I've updated one of our internal libraries in VIPM and changed its name - so it was my main suspect (I needed to update dependencies in project as the change of VIPM package name changed it folder in vi.lib). This + disconnecting code from VIs and I though that I've just found another way of destroying LV compiler completely. Still, I couldn't fix it in any way...
    As per Valko suggestion I've uninstalled DSC module completely. Once again - my project does not explicitly use this module at all! Removing the module didn't broke anything in the project. And guess what? The build was done without problems! I've even tried to do this build again on the code revision before refactoring, and the build was done!
    tl;dr: REALLY NI!!?!? REALLY!? YOU'VE BROKEN SOMETHING IN THE MODULE WHICH I DON"T EVEN EXPLICITLY USE AND MADE ME LOSE FEW DAYS OF WORK JUST TO FIND IT OUT? REEEEAAAAALYYYYY!?

  • Application builder error.llb

    Hi all,
    I'm using application builder to compile an executable of my VI. Compile runs without a hitch.
    However, when I try to launch the .exe three subvis from error.llb are missing : Not Found Dialog.vi, Details Display Dialog.vi and Set String Value.vi
    The compiled .exe seems to be looking for these VIs in instr.lib, which is nowhere to be found in the compile folder.
    This happens even on my developpment machine, on which, of course, the VI runs fine from within LabView.
    Did I miss something during the compiler setup ?
    Thanks in advance for your help !
    Nico
    Solved!
    Go to Solution.

    I've had this before, and it was reported by NI as being a bug that comes from loading up a project that was built in an older version of LabVIEW and creating an application from it. For me it was loading a LV8.5 project into 8.6.
    The only workaround was to add the three missing vi's to the project, and ensure they are added to the Always Included list within the application builder.
    You will find these vi's in Program Files\National Instruments\LabVIEW 8.x\vi.lib\Utility\error.llb. Simply add them to your project somewhere, then in application builder made sure you select them as Always Included in the Source Files section, then rebuild your application.
    Message Edited by Thoric on 03-13-2009 03:52 PM
    Thoric (CLA, CLED, CTD and LabVIEW Champion)

  • Build error in LabVIEW 8.5

    Hi,
    An error as follows has occurred when building the exe file:
    Visit the Request Support page at ni.com/ask to learn more about resolving this problem. Use the following information as a reference:
    Error 1502 occurred at Invoke Node in AB_Source_VI.lvclass:Close_Reference.vi->AB_Build.lvclass:Copy_Files.vi->AB_Application.lvclass:Copy_Files.vi->AB_Build.lvclass:Build.vi->AB_EXE.lvclass:Build.vi->AB_Build.lvclass:Build_from_Wizard.vi->AB_UI_FRAMEWORK.vi->AB_Item_OnDoProperties.vi->AB_Item_OnDoProperties.vi.ProxyCaller
    Possible reason(s):
    LabVIEW:  Cannot save a bad VI without its block diagram.
    Method Name: Save:Target Instrument
    The code was built successfully in all previous version. Only a few minor changes to the latest code: a global variable was added and a few calculation algorithm were updated. 
    Does anyone have any idea about this error?
    Thanks in advance,
    Jean

    Hello AOrtin,
    Another possible workaround for this issue is to use the additional exclusions section of Application builder.  Uncheck all of the items on this category as shown below.
    Also, are you getting the exact same error as described above?  There were two bug fixes in LabVIEW 8.5 for Error 1502 when building EXEs but you mentioned that you are already using LabVIEW 8.5.
    Regards,
    Jon S.
    National Instruments
    LabVIEW R&D

  • Application Builde Error

    When I build my application in Labview 6.1(Win 2000), the error is "Error 1 occurred at Snd Gen Error Call Chain.Vi\., possible reason:
    Labview: An input parameter is invalid", What sould I solve this problem?
    Thanks.

    Typically, this occurs when vi's have duplicate names. Find all instances of Snd Gen...vi and rename the dupes.
    See the handy dandy ni doc strangely titled "What Do I Do When I am Building An Application and I Get Error 1: "Error saving file xxx.vi"?" at:
    http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/283d12080ec1d339862568d2005617b0?OpenDocument
    or the Application Builder Troubleshooter at:
    http://www.ni.com/support/labview/toolkits/appbuild/
    2006 Ultimate LabVIEW G-eek.

  • Application Build Error

    When I try to build my application I get the following error: Error 26096 occurred at BuildApplication.vi>>DistCallCreateInstaller.vi>>WinInstallCreate.vi>>WinInstallAddMergeModules.vi>>MSIDKLoadMergeModules.vi C:\Program Files\National Instruments\LabVIEW 6.1\applibs\distkit\redist\Modules\ActiveXContainer.Msm
    Possible Reasons:
    NMDK_AMM_UNSPECIFIED_MERGE_ERROR

    Hi
    This behaviour can happen when installing Visual Studio .Net or ORCA because they install a newer mergemod.dll which isn't compatible with the older version that LV 6.1 uses in the Application Builder installer.
    This steps should help:
    1. Open a command prompt.
    2. Change to the "\Program Files\Common Files\Microsoft Shared\MSI Tools" directory.
    3. Execute the following command: "regsvr32 /u mergemod.dll". This should report that the unregister was successful.
    4. Change to the "\Program Files\National Instruments\shared\Installer" directory.
    5. Execute the following command: "regsvr32 mergemod.dll". This should report that the register was successful.
    Hope this helps
    Luca
    Regards,
    Luca

  • C++ build error with LabVIEW DLL

    Hi, I'm a student at UC Irvine learning to use LabVIEW.  I am working on a practice project for which I have to use a PID system to control the temperature of an object.  Things are starting to get a little messy with nested control statements, loops, etc., so I figured I'd export a LabVIEW DLL with all the hard to code stuff, such as interfacing with my instruments, and plotting data or whatever, and do the number crunching and keeping track of stuff in C++.
    The DLL file I made in LabVIEW went off without a hitch as far as I can tell, but when linking it to my C++ test program (which at this point is just including the LabVIEW's .h file for the DLL and an empty main() function), I get a lot of build errors.  I am using Dev-C++ which uses g++ to compile the code.
    Here is a pic of my build errors:
    Solved!
    Go to Solution.
    Attachments:
    LabVIEW_compile_error.JPG ‏184 KB

    Normal windows apps are not as forgiving about where you can put your DLL as LabVIEW. You have to have a DLL either in the direcotry where the executable file itself resides (that would be your build directory, not the source directory), the windows or system directory, or any directory that is set in the PATH environment variable. Anythin else will most likely not work, or at least not reliably.
    No need to add the cintools directory into your include file paths nor the library file paths. you would only need that if you decided to let the DLL export native LabVIEW data types in which case you would need the LabVIEW manager functions to prepare the correct data buffers.
    Rolf Kalbermatter
    Message Edited by rolfk on 07-30-2009 07:49 AM
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • Where do I find the VISA installation drivers to add to my application builder for my LabVIEW app?

    I need to add the VISA installation drivers to my LabVIEW application builder, but I don't know where to locate them. (I found the instructions on adding the drivers, but it didn't tell how to find them: http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/e09ba0e2f31d304f86256a640070058e?OpenDoc ument)

    The following webpage contains the NI VISA drivers that you can download:
    http://digital.ni.com/softlib.nsf/display?ReadForm&lookup=NI-VISA&view=current&node=132060_US
    Chris_Mitchell
    Product Development Engineer
    Certified LabVIEW Architect

  • Blueprint Application Builder Error.

    Dear Gurus,
      I went to CRMC_BLUEPRINT transaction code and selected the BluePrint Application Builder. BAB got launched in Internet Explorer. When I select the Application as "Leads" and View as "Lead Manager" and click on "Load Application" I get a java script message saying "SAP data could not be maintained in the customer system". I get this message for any selection of Application and View. Can you pls advice me.
    Thanks!
    Vivek.

    Vivek, get me your email address and will forward you the CRM PC-UI 4.0 Cookbook and I would recommend you to go through the examples and the end of the documentation to get a feel of the concept and how to tackle your questions. Also read the conceptual piece of the blueprint tables and their possibilities. If you have any questions just let us here now and help you gladly. Tiest.
    By the way also have a look at my weblog: <a href="/people/tiest.vangool/blog/2005/07/24/pc-ui-and-easy-enhancement-workbench-eew-integration and Easy Enhancement Workbench (EEW) Integration</a> which describes the generic process on how to extend transactions and make them available in PC-UI.
    Message was edited by: Tiest van Gool

  • Application Builder Error "Browse to LabVIEW.exe"

    LabVIEW gurus...
    I am currently building a standalone app from my project.  When I run the application (which builds successfully), LabVIEW prompts me to browse to the LabVIEW.exe file.  However, I want this app to run on a computer that will not have LabVIEW installed, and so browsing to this file isn't an option.
    I know that the reason for this problem is that I'm using 2 call library functions named StrLen and MoveBlock within the LabVIEW.exe library (to access data from a pointer to a pointer).
    LabVIEW.exe shows up as one of the dependencies in my project, but I can't figure out how to add it to my build specifications.  I tried to build an installer and include the LabVIEW runtime environment, but this doesn't seem to work either.
    Any suggestions would be greatly appreciated!
    I'm using LabVIEW 8.6.
    Thanks,
    Jason
    Solved!
    Go to Solution.

    In the dll call simply type LabVIEW without any path. This should work (I used it on 7.1)to automagicallylink it.
    The functions are also located in the lvrt.dll which is the main part of the runtime engine.
    Felix
    www.aescusoft.de
    My latest community nugget on producer/consumer design
    My current blog: A journey through uml

  • Application builder Error: Windows SDK function returned an error. (Error code -12) *** End Error Report

     try to create an installer in Labview 8.6.  The build fail and I got this message.
    CDK_CreateNewWizard_Invoke.vi.ProxyCaller >> CDK_CreateNewWizard_Invoke.vi >> CDK_InstallerConfiguration_Editor.vi 
    >> CDK_Build_Invoke.vi >> CDK_Engine_Main.vi >> CDK_Engine_Build.vi >> NI_MDF.lvlib:MDFBuildDist_Build.vi
    Loading product deployment information
    Loading product deployment information
    Loading product deployment information
    Loading product deployment information
    Adding files to installer
    Done adding files
    Preparing to build deployment
    Copying products from distributions
    Copying distribution 'NI LabVIEW 8.6.1 Datalogging and Supervisory Control Module' from: 
    D:\software\application\LabView\NI.LABVIEW\NI-Labview 8.6.1 DSC Module\ to: C:\Documents and Settings\Lidaoling\桌面
    \Builds\generate waveform\My Installer\
    Building deployment
    Copying setup files
    Setting merged database information
    Setting product information
    Setting developer part information
    Starting final build
    Validating...
    Copying files...
    Updating files...
    Creating merged database...
    *** Error: Windows SDK function returned an error. (Error code -12)
    *** End Error Report
    Done building deployment 

    Solution

  • Application builder error

    Has anyone seen this error
    I get this error after I build an installer and try to run the setup
    Message Edited by James R on 05-14-2009 01:24 PM
    - James
    Using LV 2012 on Windows 7 64 bit
    Attachments:
    builder_error.jpg ‏48 KB

    Hi James,
    Did you make sure to include the LV 8.5.1 Run-Time Engine in the installer?  The error is saying that dependencies are missing and the product code is for the LabvIEW Run-Time Engine v8.5.1 (I was able to look that up for you).  When you say the executables work by themselves, is that on the target machine or development machine?  Have you ever been able to build an installer?
    Kristen H.
    Message Edited by Kristen H. on 05-15-2009 11:18 AM

  • Tab Control Property Node gives a build error when used in a VI for LabVIEW PDA

    Hello,
        Iam new to LabVIEW development & need help regarding this:
        We are trying to port a LabVIEW application from desktop to a Windows Mobile PDA. Please note that the LabVIEW application works fine on the desktop. In one of the VIs, a Tab control property node is used which gives a build error with LabVIEW PDA project. A sample VI which shows the problem & the error list snapshot is attached with this post. Can anyone please suggest an alternate approach to achieve the same functionality with LabVIEW PDA? Waiting for an early response from anyone...
    Thanks & Regards,
    Subhashini
    Attachments:
    VI_Error.zip ‏31 KB

    Hello Ton,
        Am glad that i got a response, thanks. The following links indicate that Tab control is supported on PDA target:
    http://digital.ni.com/public.nsf/allkb/CBA335641E27B858862571490015EA88?OpenDocument
    http://forums.ni.com/ni/board/message?board.id=170&message.id=221507&requireLogin=False
        I feel that the Tab control property node that has been used in the VI (which is attached earlier) may not be supported on the PDA target. Can u (or any LabVIEW expert) suggest an alternate approach to achieve the same goal with LabVIEW PDA (changing colour of Tab control pages programatically)??
        I had missed out some details earlier: We are using LabVIEW 8.5 PDA module on a Windows Mobile PDA.
    Thanks & Regards,
    Subhashini

  • Application builder and dynamic class VIs name collision

    I'm, using LabView 8.6 and I'm trying to make executable file. 
    The application builder returns warning:  
    "LabVIEW prevented a file name collision during the build. Duplicate file names cannot be copied to the same destination. You can rename files as part of the build process to avoid name conflicts."
    ...and no executable is created.
    I'm pretty sure the warning comes from the fact that I use dynamic class member VIs, that are by definition have to have same names in both parent and children.    
    The following link (http://zone.ni.com/reference/en-XX/help/371361E-01/lvhowto/caveats_apps_dlls/) says " If you don't rename the files, Application Builder moves the files to different folders for you to avoid a filename collision.", but no folders are created.
    Any help here? 

    Hi,
    If you have a parent class and one or more child classes, during the build LV will create a folder for each class with a conflicting VI.  The offending VIs will be dumped in their respective folders, resolving the conflict.  For what it's worth, I've used dynamic dispatch VIs several times in executables in LV 8.6 without seeing the issue you're reporting.
    My only advice would be to:
    1) make sure that you haven't somehow put two VIs of the same name in the same class (not even sure that's possible).
    2) make sure you aren't renaming a VI during the build and creating a conflict
    JasonP - CLD

  • Build dll error in application builder 8.6.1

    Hello,
    I get always an error in the LV 8.6 application builder, when I build a dll. There is only one function in it, that has a string and an error input, and nothing else. I attach a screenshot of the VI prototype, and hier is the error description:
    Error 1 occurred at Building DLL.
    A component needed for Application Builder does not support the required functionality. This might have been caused by installing an older version of LabVIEW after this version was installed. Reinstall the current LabVIEW version to correct this issue.
    Possible reason(s):
    LabVIEW:  An input parameter is invalid. For example if the input is a path, the path might contain a character not allowed by the OS such as ? or @.
    =========================
    NI-488:  Command requires GPIB Controller to be Controller-In-Charge.
    After that I reinstalled LV8.6, I tried to reinstall only the 8.6 app builder, but no success.

    Hello,
    thank you for the reply.
    I have solved the problem. I uninstalled the last installed LV version, this was 8.0. Then ran appbuilder again in 8.6, then I have got an instruction to run applibs\lvdllbuilder\lvdb.exe. Since then works.
    regards
    Mitulatbati

Maybe you are looking for