LV8 Application Builder Folder Structure

I have a folder structure in my development environment.
When I build an application, using the application builder, I want to get the same folder structure.
Example:
I have folders ..Application\Drivers\DMM\Agilent 34401 and ..Application\Drivers\DMM\Fluke 45.
There are subfolders containing VI:s in each folder (..Application\Drivers\DMM\Agilent 34401\Subs\sub.vi)
In the application builder I add ..Application\Drivers to "Dynamic VIs and Support Files".
I create a new "Destination".
Now all vi:s from ..Application\Drivers goes to this folder, not to subfolders.
Is it possible to get a folder structure?
Staffan Ekstrom
Sony Ericsson Mobile Communications AB
Lund, Sweden

Hi Staffan,
When you build an application all of the VI:s will be integrated in an .exe file. The reason for this is that the user of your program not shall be able to do changes in the source code.
When adding files to the "Dynamic VIs and Support Files" these files are for example help files that you want the program to find no matter where you install your program on the computer. Before adding files to this you need to build the relative path in the program using strip path.vi and build path.vi.
Dynamic VI:s are not the same as sub VI:s.
The short answer to your question is no, there is not possible to get a file and folder structure when building an application.
Regards,
Andreas E
Applications Engineer
National Instruments

Similar Messages

  • LV8 Application builder/ installer questions

    I am having trouble in building my installers within LV8. Everything is in the Project Manager and I am able to build an Executable that works. but when I build an installer and try to run the installer on a 2000 or XP machine I get the attached error. I found if I continue on the error everything gets installed ecept my application. If I manually install my application everything works. so with the RTE on a system without LV8 installed my EXE works.
    I cannot figure out exactly what I am doing wrong. I am thinking it could be on the  Registry tab of the installer as I did not adde or change anything. the PDF CD I received with LV8 talks about the App Builder from 7.1 which does not help. The program I am working on building worked fine in 7.1.1. Source files look to be done correctly and I check marked the Register COM ont he source files settings page as I am using ActiveX to access Excel.  It is configured to install RTE 8.0, I have the Shortcuts set as well, but on a NON Dev machine (no LV8) the installer does not work. but on my Dev machine it seems to work fine.
    Any ideas?
    Message Edited by jdebuhr on 01-09-2006 09:47 AM
    Jeff D.
    OS: Win 7 Ultimate
    LabVIEW Version: 2011,2010,2009 installed
    Certified LabVIEW Architect
    Attachments:
    LV8_installer_error.JPG ‏18 KB

    I think I got it working.. I deleted the old files int he destination for the build and tried again. I left the ActiveX Server unchecked and verified the Register COM was checked. created a new installer and built it and is seems to work.
    Jeff D.
    OS: Win 7 Ultimate
    LabVIEW Version: 2011,2010,2009 installed
    Certified LabVIEW Architect

  • FDM Application directory/Folder structure Backup

    Hi
    Next week we are planning to migrate the FDM Application from environment to other.
    My question is do we need stop the application services to take the Backup of the FDM Application directory?
    Ideally i would prefer to stop the services and take the folder backup however not sure if we would have the downtime from the business to do the same.
    Please let me know the drawbacks if i take the backup of the application directory without stopping the application services.
    Thanks in advance
    Regards
    krishnatilak

    No you do not need to stop any services to take a copy of the application directory

  • Folder of application builder(*.exe) with run-time DLL

    My application consists of main.vi, subvi folder, and example folder.
    In addition, I have to add the run-time libraries for add-on tool kit (advanced signal processing, lvwa.dll) which should be located in the root folder.
    (For exe application, can I set the location of DLLs to not the root folder but "DLL folder"?)
    In my several trials, I can't maintain the hierachy of "example folder".
    Instead of my intension, the NI application builder copied the files in the folder to the support directory.
    Can I locate the "example folder" to the root folder by using NI application builder?
    In summary, I want to get the folder structure by application builder.
    main.exe, DLL folder, Example Folder.
    메시지가 08-08-2008 01:30 AM에 labmaster에 의해 편집되었음

    Hey Labmaster,
    What version of LabVIEW are you using?
    I am not too clear as to what you are trying to do. You can create folders and add anything from your project when creating an installer under the Source Files section in its properties.
    It might be easier if you'd attach a screen shot of what you are doing or trying to do.
    Aashish M
    Applications Engineer
    National Instruments
    http://www.ni.com/support/

  • Custom application to upload entire folder structures into KM at once

    Does anyone know of a way (or has an idea of how) to create an application that could be put in an iView to allow the user to select a folder on his/her PC to be uploaded onto KM, subfolders and all?  I have found sample apps that let you upload single files into KM, but none for multiple files or folder structures.
    Thank you

    Hi,
    Some ideas..
    Maybe you should try zipping the whole folder and uploading it. The upload program should unzip the file using the zip APIs from Java, and move the folder into an File Sytem or FSDB repository.
    If you are using the CM repository of type DB then you will have to look at the IResource and ICollection creation APIs to build the folder structure and transfer content.
    Regards
    Pran

  • Creating Folder stucture Application Builder

    Dear Friends,
    I was intending to populate a specific folder structure inside the BUILD folder as shown in figure. But after a lots of combination unable to find what I was looking for.
    Please refer the figure and do suggest me if, there is any methods / tricks to achieve my goal.
    Assumptions:
    All Vis Should be Always Included into the Build Specification.
    All Vis contains SubVIs and Vilib Vis.
    Thanks
    Sri

    I don't understand what you are trying to do.  I think you are trying to build an Executable from a LabVIEW Project that is organized as a set of Folders inside a Top Level Folder.
    If that is correct, then you should not try to replicate your folder structure in the Build!  The structure of a Build is a single folder that holds the Application (the .exe file that results from compiling and linking together all of the LabVIEW VIs and support VIs referenced by your Project) and giving you a single file (My Application.exe).  It also provides a few Configuration files (My Application.ini and My Application.aliases) in the same Folder, and might have a Data sub-folder where files that "need to be available", but might not be directly linked by the Builder, are located.  Most of my Executables just have the three .exe, .ini, and .aliases files present.
    When you build the executable on your own PC, it links to the LabVIEW library routines whose locations it already knows (they're usually in Program Files\National Instrument\LabVIEW 20xx or similarly-named folders).  If you want to run this code on another PC that does not have the LabVIEW Run Time Library installed, you can create an "Installer" that will package up the additional files and create something that, when you run it, will "install" the Run Time Libraries and the Application.
    I've only rarely done this (and, I confess, not recently) -- it can be a little messy.  I'm not delivering to Customers, but rather providing routines to Students, so it's a little more "hands on".  What I've done is to provide the Build (meaning the folder containing My Application and its supporting files), which they can copy to their PCs or just run directly from a Share, and also pointed them to an Executable that will install the appropriate LabVIEW Run Time Engine on their PC.  We've "standardized" on LabVIEW 2014 (for now), so everyone has the RTE installed, and only needs to pick up the latest Executable.
    Hmm, are you trying to do a Source Distribution?  If I've gone off on an irrelevant tangent here, I apologize.  Yes, if you are trying to distribute the Source, then you may want to keep track of the existing file structure.  [How embarrassing if I've been ranting away on the wrong issue ...  I'll go away, now ...]
    Bob Schor

  • Can I include raw files into the installer folder with LV application builder?

    Hello,
    I have created a batch file that will run at the end of the installer, which will copy over some raw configuration files into the source destination so that the configuration files can be customized for each end user without rebuilding the installer with application builder. I also have an autorun.inf so the installer will automatically run when the user installs the CD.  
    However I would like to have some default configuration files and an autorun.inf file that will be automatically added to the installer "volume" folder using the application builder. 
    However I don't see a way to include raw files in the "volume" folder. It appears all source files in the application builder are embedded into the binary files.
    Please let me know if this is possible with the current application builder.
    Regards,
    Russell
    Engineering Team Leader
    G Systems, www.gsystems.com
    Certified LabVIEW Architect
    Certified Professional Instructor

    Russel,
    i think this link might give you some good hints....
    hope this helps,
    Norbert 
    CEO: What exactly is stopping us from doing this?
    Expert: Geometry
    Marketing Manager: Just ignore it.

  • Building a war file with a folder structure

    How do a build a war file with a folder structure? I have code that creates JarEntrys and writes jar files and resource files etc. to the war. When I look at the war that gets created using winzip the path names for all the entries are correct and everything appears correct. When I try to deploy this to Tomcat nothing deploys. It appears my war is in a folder structure. How can a build this folder structure in the war? When I look at a good war using BeyondCompare I see folders and files in the folders just like I would see looking at a directory on my system. When I use BeyondCompare to view one of my "bad" war files that I have created everything is in the root. There are no folders and no folder structure. I am using the java.util.jar API to create the war but I don't see any methods or any API that will let me build up any sort of folder structure. It seems like I am missing something basic here.

    command is same for creating jar/war/ear.
    u simply need to execute jar /? for detail.

  • Projects, application builder LV7/LV8

    I realize that this is a general question so I'm hoping someone can just point me in the right direction.
    I have been using LV8, but recently had to work on a cRIO application that was written in LV7. I was able to make the necessary changes and solve the problem but there were a few things that left me confused.
    The LV7 application was as follows:
    an FPGA program
    a RT program
    some windows .exe program that, when run, would download all the appropriate programs into the cRIO and run it.
    In order to make changes to any of the programs, and have those changes "stick", I had to run the Application builder. Fortunately the previous developer left a profile that I could load, and everything worked, but before I found out about this, I struggled with getting the application builder to correctly assemble all the necessary files.
    My question is, does there exist a tutorial on using the application builder? Does it include writing an application that will find the RT VI, the FPGA VI, and put them in correctly?
    I am familiar with LV8 and I understand how to have the VIs loaded automatically (stored on the cRIO). I'm just not familiar with LV7.
    Just looking for pointers and tips on using the application builder I guess.
    Thanks
    Jeff

    Jeff,
    Here are a few links that should help you out.
    Creating Executables with the LabVIEW Application Builder - This is a general overview of the Application Builder (version 6.0 and 7.0)
    http://zone.ni.com/devzone/conceptd.nsf/webmain/4ef810ee05bef63c86256bf30062ec31
    Deploying and Launching a Real-Time Application - This is more specific to deploying a real time application
    http://zone.ni.com/devzone/conceptd.nsf/webmain/9ac4955881bd7b4d86256d0b0061dd1c
    Hope this helps,
    Justin D.
    National Instruments

  • Exporting project- folder structure to other Non-Aperture  applications

    Hello,
    I'm about to lay the foundation for a new Aperture installation. As far as organizational structure goes, this what I have in mind:
    1 Project / year
    1 Album / event
    Example:
    Project 1993
    Derek's Birthday album
    Linda's wedding album
    Project 1994
    Robert Birthday album
    Bob wedding album
    At some point, I will want to export the whole structure or some projects to family and friends who would like to view these images on their PC (not everyone is converted to MAC, yet).
    I understand the Export>Projects command generates a file that can only be understood by Aperture, so useless for sharing with non-aperture users. What I'd like to do is:
    1) Translate the project-album structure to a folder-subfolder structure in order to share images with other PC users.
    2) At the same time export images versions as opposed to masters.
    3) At the same time export all added Metadata.
    I have the feeling Aperture is not ready to do all of the above with one command only. How can I maintain the project structure in order to share with other PC users? I guess only a script will be able to do this...
    Thanks for your feedback.

    fbellay wrote:
    At some point, I will want to export the whole structure or some projects to family and friends who would like to view these images on their PC (not everyone is converted to MAC, yet).
    1) Translate the project-album structure to a folder-subfolder structure in order to share images with other PC users.
    Albums simply don't translate sensibly into Finder folders, in the same way that iTunes playlists don't. Any one Version can exist in any number of Albums, so you'd either end up having to choose one place for the exported file to be and remove it from all the other folders representing Albums, or end up with multiple duplicate copies of the same file.
    Projects, on the other hand, can be mapped directly to Finder folders. So you might be better off using Blue Folders and Projects rather than Projects and Albums.
    2) At the same time export images versions as opposed to masters.
    3) At the same time export all added Metadata.
    Exported Versions will automatically include IPTC & EXIF metadata, assuming you chose an export preset with metadata included.
    I have the feeling Aperture is not ready to do all of the above with one command only.
    There are some AppleScripts that will replicate the structure within Aperture when exporting (or Aperture Assistant* to do it without any scripting knowledge), but as I mentioned already, you will end up with multiple duplicate files.
    Also, you would have to do this again every time that you alter a Version, import files or move Versions around.
    Basically, the virtual nature of both images and organisation in Aperture mean that it won't really work in the way that you wish, and LightRoom wouldn't be much better even though it has closer ties to the folder structure.
    Why not simply export a Projects-worth of images in this way rather than your whole Library?
    Ian
    * http://aperture-assistant.com/docs/how-do-i-copy-apertures-organisational-struct ure-when-exporting
    “I may receive some form of compensation, financial or otherwise, from my recommendation or link.”

  • Application builder (using OpenG source)

    I just made a LV program and executable thing in LV8.2.0.
    Only one function (for converting cluster->ini) from OpenG was used to make the program easily.
    When I copy the program folder, so many OpenG (maybe related to the converting routine) codes were created in subVI folder.
    My question is,
    1. In distributing source code,  Is there some DLL or convenient format file for OpenG not to copy many Vis?
    2. In making executable program by NI-application builder, how to treat the OpenG library if I have only one Vi ?
    And as other question,
    3. In NI buidler, the external libraries (run-time/DAQ/VISA) may be rather big.
        How can I make the whole program( application+libraries installer) as small as possible?

    labmaster wrote:
    1. In distributing source code,  Is there some DLL or convenient format file for OpenG not to copy many Vis?
    2. In making executable program by NI-application builder, how to treat the OpenG library if I have only one Vi ?
    And as other question,
    3. In NI buidler, the external libraries (run-time/DAQ/VISA) may be rather big.
        How can I make the whole program( application+libraries installer) as small as possible?
    3: The DAQmx installer has several versions the smallest being 40 MB? and the largest 150 or something.
    I think the VISA installer has the same options.
    Ton
    Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
    Nederlandse LabVIEW user groep www.lvug.nl
    My LabVIEW Ideas
    LabVIEW, programming like it should be!

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

  • Folder structure in WebDynpro Java

    Hi Friends,
    An application in STRUTS has a specified folder structure such that all jsp files should be placed in JSP folder,similarly in the case of WEB-INF folder there is a particular format or structure for the same which we follow.
    Similarly in WebDynpro Java,what is the folder structure we follow?
    Whatever we build and compile these meta data is placed at some folder structure,so what is the folder structure we follow.
    Can i get a proper information on this please.
    Thanks and regards,
    Chandrashekar.

    Hi Chandrashekar,
    When you care WD apllication it has default structure, which is
    WD_Application
    WDDynpro
    Models
    Web Dynpro Component Interface
    Web Dynpro Components
    Dictionaries
    Local Dictionary
    Data Types
    SRC
    Configuration
    Mimes
    Pacakges
    PS: this structure created by default.
    Thanks
    Anup

  • What is the default iTune Folder Structure for iTunes 10?

    What is the default iTune Folder Structure for iTunes 10? As far as I can tell in windows 7 it goes something like.
    My Music\iTunes\iTunes Media\Music
    Other folders for downloads, pod casts, mobile applications are all in the iTunes Media folder, however the iTunes library database files are located in the iTunes Folder.
    The reason I ask is that I am re-doing my music collection and I set up the folder structure mentioned above, but iTunes re-arranded everything and copied all of my music into the iTunes Media folder.
    Anyone have any idea how iTunes does it by default?

    Here are typical layouts for the iTunes folders:
    If you have upgraded from version 8 (or earlier) to iTunes 9 (or later) at some point, then your media folder (everything inside the red outline) may still be called iTunes Music instead of iTunes Media. The extra Music folder inside the media folder is used if you have allowed iTunes to Upgrade to iTunes Media Organization (iTunes 9) or used File > Library > Organize Library > Reorganize files in the folder "<Media Folder>" (iTunes 10). Depending on your choices for Keep iTunes Media folder organized and Copy files to iTunes Media folder when adding to library plus a little bug in which one build changed the name of the file storing the choice of layout it is quite easy for some of your files to be organized according to one layout and some the other.
    Assuming you're happy letting iTunes organize your files the following steps should tidy things up (should it be necessary):
    1. Select File > Library > Organize Library... > Tick Reorganize files in the folder "<Media Folder>" and click OK. Skip if this option is greyed out (already upgraded) or you prefer the older layout.
    2. Select File > Library > Organize Library... > Tick Consolidate files and click OK. This will bring any files currently organised outside the designated media folder into it.   NB This will create duplicate copies of any file that needs to be consolidated, and you will need to manually clean up afterwards. If space is at a premium try my scripts Unconsolidated to find out what would need moving and ConsolidatebyMoving to move rather than copy it.
    3. Select Edit > Preferences > Advanced tab, uncheck Keep iTunes Media folder organized and click OK.
    4. Select Edit > Preferences > Advanced tab, check Keep iTunes Media folder organized and click OK. This triggers iTunes into reorganizing everything according to your preferences.
    5. (Optional) Close iTunes, rename the folder iTunes Music as iTunes Media then restart iTunes. Check under Edit > Preferences > Advanced tab that the location has automatically updated. If you can't access the media for any reason just undo the folder rename.
    6. (Optional - Windows only) If Windows Media Player has ever had access to your files it may have liberally scattered folder artwork files about which iTunes won't tidy up when it reorganizes things, thus leaving behind a heap of folders with artwork and no media. I've written a script for cleaning this mess up called CleanDeadArt.
    PS If you really prefer the older layout, but it is already in the new one then edit the file called .iTunes Preferences.plist in your media folder and change the integer from 1 to 0 before doing step 3.
    tt2

  • Report Generation for Excel does not work after using the Application Builder

    I have a VI that writes data to an Excel file using the Report Generation Toolkit. I recently compiled the VI into a single Application (EXE) using the Application Builder. My VI runs its tests properly, but no data is written to Excel. What could be the cause? I don't receive any error messages.

    Hi
    I usually build exe-files, which sometimes also have report functionality.
    Open the Application Builder and check the following things:
    1. Add the following vis: _Word Dynamic VIs.vi, _Excel Dynamic VIs.vi They should be located in the directory ..\LabVIEW X.X\vi.lib\addons\_office in the llbs _wordsub.llb and _exclsub.llb (report1.jpg)
    2. If you use an Installer, go to the Advanced Settings. There you can select some things to include in the Installer. Check if "NI Reports Support" is selected. (report2.jpg)
    These are the things I always do, if I need reports and I never had problems up to now. I made two screen-shots of these settings.
    Hope this helps.
    Thomas
    Using LV8.0
    Don't be afraid to rate a good answer...
    Attachments:
    report.zip ‏25 KB

Maybe you are looking for

  • Regarding FI issue

    I am executing the report ZRFAPBALANCE ( Vendor Balance Display ) . The Problem with that is i am getting the opening and closing balances of 2007 & 2008 but when i execute for 2009 i am not getting added to the current year balances. Can i know what

  • Memory Leak in 8.1.6.0.1 JDBC/OCI for Solaris

    Hello, there is a memory leak in the 8.1.6.0.1 JDBC-OCI driver for solaris. The leak causes your jvm to eat up all memory if you reuse callable statements (calling one statement multiple times with different values). The thin driver has no such probl

  • How to Configure a mail server with OIM

    Experts , Any idea/links/Docs on how to configure a mail server with OIM and to send mail notification to someone . Pardon me, if my questions seems to be incomplete . Thanks Suren

  • How to hide BEx reports in archive folders

    Hello experts,  Need your advice, we currently have several reports that we want to phase out gradually, but want to keep available in case users would want to use in the few months ahead. Can you please help confirmif possible to move BEx reports fr

  • Poor performance when using skip-level hierarchies

    Hi there, currently we have big performance issues when drilling in a skip-level hierarchy (each drill takes around 10 seconds). OBIEE is producing 4 physical SQL statements when drilling f.e. into the 4th level (for each level one SQL statement). Th