Creating Builds Programmatically LV8.0.1

Salut.
From LV8.0.1 help :
QUOTE
Creating Builds Programmatically
You can use the BuildTargetBuildSpecification VI located in the vi.lib\AppBuilder directory to build source distributions programmatically from build specifications. If you have the Application Builder installed, you can use the VI to build stand-alone applications, shared libraries, Windows installers, and zip files programmatically. The VI is not available on the Functions palette.
Note The LabVIEW Professional Development System includes the Application Builder. If you use the LabVIEW Base Package or Full Development System, you can purchase the Application Builder separately by visiting the National Instruments Web site.
The BuildTargetBuildSpecification VI creates a build from a build specification that you specify in the Name of build specification input. If you do not specify a build specification, the VI creates builds from all build specifications in the specified LabVIEW project. You must specify the path and filename of the project to use in the Path to project input.
If you want the VI to create a build from a build specification located in a target that is not My Computer, specify a target in the Name of target input.
After you run the VI, you can view the path to the completed build files in the Generated files output.
END QUOTE
1-
QUOTE After you run the VI, you can view the path to the completed build files in the Generated files output.END QUOTE
Does someone know how to also get the created installer files? (i only get the exe output files)
2- How can i start the build status feedback window when using the BuildTargetBuildSpecification.vi?

Hi jacemdom,
I hope you're doing well.  I have tested building an Installer specification on my end, and I am seeing the same results.  The correctly passes in the appropriate build specification reference, but no files are actually generated as you have noticed.  I am currently looking for more documentation for you on the BuildTargetBuildSpecification as it is a relatively new feature.  Regarding the status window with this VI, it looks like that feature is currently unsupported.  I will verify this an update you with what I find.  Have a great day!
Thaison V
Applications Engineer
National Instruments

Similar Messages

  • Programmatically create build specification

    Here's my problem. I have several dozen projects, each of which contain the same VIs (more or less) but are for different hardware configurations. In particular, they all contain 1) a PXI target that contains a unique EtherCAT configuration, 2) a unique startup VI that should run on the PXI, and 3) other peripherals that may have build specifications as well (e.g. FPGAs). Occasionally I need to make a change to the way our code builds, and that means I need to open every single project to make the change. Since the projects are very large, this takes a long time.
    My solution is to create a separate program whose job will be to open the selected project, create build specifications with the settings that are common across all the projects, allow the user to select unique aspects such as the startup VI for the PXI, and build any/all other build specifications necessary for the selected project.
    I found here a topic disucssing modifying build specifications programmatically, but since I want to create a build specification, I would need to know what every single tag is, how it is used, what its allowed values are, etc. Is there some documentation I can refer to for this? Or better yet an example VI that someone has already put together?

    The other thing to remember is that at the end of the day, the output of the build specification process is just a string that happens to be part of an XML file (the *.lvproj).
    You can always check your work by opening the project file with a text editor and verifying that it is correct. Just remember that because this is not documented or supported, it can change at any time. So if you are successful, anytime you update LV you will need to recheck this code to make sure it still works.
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • FM for Create ASN programmatically in SNC (Supplier Network Collaboration)

    Hello,
    I am working in SNC (Supplier Network Collaboration) with version SAP SCM 7.0. I wanted to create ASN programmatically.
    Can anyone tell me the ways possible to create ASN programmatically using purchasing information?
    Thanks & Regards,
    Nitin

    HI Jens,
    In our forum, we discussed topic about BizTalk & SAP Integration before, hope it helps you.BizTalk
    & SAP Integration
    Best regards,
    Angie
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Can i create pdx programmatically in c# ?

    Can i create pdx programmatically in c# ? If yes, then is it must to use adobe sdk for it ?

    I did this using an unpublished API - it took some experimentation but worked great at the end. I used a page template in release 2 of Portal. the idea was that when a user added a project we would programatically create a page for that project. In that manner their portal would end up with several hundred pages, one for each project, that were created and look similar as they added project information for their company. Here is an example from the code using Oracle's API, wwpob_api_page.create_page - if you open up the specification for this package in a pl/sql browser such as TOAD you will see some comments that help explain how to use it:
              p_page_id := WWPOB_API_PAGE.create_page
    (p_id => null
    ,p_parent_id => 1
    ,p_type_id => WWPOB_API_PAGE.PAGETYPE_PORTLETS
    ,p_type_siteid => 0
    ,p_type_value => 1
    ,p_name => p_page_url_info
    ,p_title => v_page_title
    ,p_category_id => null
    ,p_site_id => p_page_group_id
    ,p_plsql_executemode => null
    ,p_username => v_user_name
    ,p_description => v_page_description
    ,p_image => null
    ,p_titleimage => null
    ,p_rolloverimage => null
    ,p_styleid => v_style_id
    ,p_style_siteid => 0
    ,p_exposure => WWPOB_API_PAGE.DONTEXPOSE_AS_PORTLET
    ,p_ispublic => WWPOB_API_PAGE.PAGE_PRIVATE
    ,p_inheritpriv => WWPOB_API_PAGE.OWN_PRIV
    ,p_isready => 1
    ,p_cachemode => WWPOB_API_PAGE.CACHE_MODE_PING
    ,p_cacheexpires => null
    ,p_template_id => p_template_id
    ,p_template_siteid => p_page_group_id
    ,p_allow_style => WWPOB_API_PAGE.NO_PAGE_STYLE
    ,p_allow_acl => WWPOB_API_PAGE.ALLOW_PAGE_ACL
    ,p_istemplate => WWPOB_API_PAGE.PAGE_TEMPLATE_NO
    ,p_dav_id => null
    ,p_init_jspfile => null
    ,p_displaybanner => WWPOB_API_PAGE.SHOW_BANNER
    ,p_region_type => WWPOB_API_REGION.region_type_portlet
    ,p_create_region => true
    ,p_navpage_id => null
    ,p_navpage_siteid => null
    ,p_uitemplate => null
    ,p_template_ispublic => WWPOB_API_PAGE.PAGE_TEMPLATE_PRIVATE
    ,p_use_def_template => false
    ,p_copy_from_template => true
    Good luck - Art

  • Creating Items Programmatically?

    Hi,
    What's the easiest way to create items programmatically? Our goal is to push new items (and later business partners & sales orders) into SAP without wasting valuable staff time on this kind of tedious stuff.
    I'm assuming it's not the obvious answer of simply INSERT'ing into the relevant tables (OITM etc)
    Do we need to buy the SDK to do what I'm asking?
    If someone can give me a pointer in the right direction, I'd really appreciate it!
    Many thanks,
    William.

    Hi there,
    I don't really undersand your question. If it is for data take on purposes, you can use DTW. You can use SDK if you need to stuff "automatically". You can write a Windows service that runs in the background, using SDK or an Add-on that will execute in the normal ways.
    Hope this helps.
    Kind regards

  • How to create Request programmatically to trigger Approval Process

    My scenario is dificult... I need to start Approval Process when the user want to assign AD Resource to other user without Request service. So I want to create Request programmatically from Event Handler to start Approval Process for Provision Resource request type.
    Is this right Way?

    If you talk of request, you will have to use RequestService. You can use code to work with the RequestService to create the request and the approval for you.
    -Bikash

  • Creating Presentations Programmatically

    Hi,
    I would like to know how to create presentations programmatically using PresentationBuilder, PresentationCustomizerContext and Presentation objects.
    Thanks in advance
    Ajesh A

    Hi,
    You can see an example of that in BI Beans samples - open the Java client project. You can donwload the BI Beans samples from here:
    http://www.oracle.com/technology/products/bib/index.html
    You can also generate a BI Beans default Java client class in JDeveloper and look at the generated code. To generate a Java client class, follow these steps:
    1. In JDeveloper create a new workspace
    2. Create a new project
    3. Create a new BIDesigner and specify the connection details
    4. Right click on BI Designer, and in the New Gallerychoose Business Intelligence Beans -> Client Tier for OLAP -> Java client class to generate a default Java client application.
    Hope this helps
    BI Beans PM

  • Creating portlet programmatically

    Hi dev2dev
    I want to create portlet programmatically
    if there is any hints or package related pls do mail me
    Thanks n Regards
    Surya
    [email protected]

    Hi,
    I am sure ( although without having testet it myself ) that the administrative EJBs behind the portal administration tool could be used here.
    consult the java - doc for theese classes.
    Are you sure this is the only solution to the problem ? If you could elaborate on the problem leading to you wanting to create portlets prgrammatically perhaps the community could provide you with another solution if there are any.
    - Anders M.

  • Creating ViewAcessor programmatically

    I have created ViewObject at runtime by providing sql query. Now i want to create ViewAccessor so that i can validate one of the fields in newly created ViewObject but i could not find any help regarding creating ViewAccessor programmatically. Any Help?????

    Hi,
    I am sure ( although without having testet it myself ) that the administrative EJBs behind the portal administration tool could be used here.
    consult the java - doc for theese classes.
    Are you sure this is the only solution to the problem ? If you could elaborate on the problem leading to you wanting to create portlets prgrammatically perhaps the community could provide you with another solution if there are any.
    - Anders M.

  • Unable to create build.xml file

    I wrote build.xml file to create build using ANT in eclipse but it failed. The reason is value for "location" attribute (see below) is wrong and I don't know how to fix it. My eclipse workspace is in D:/eclipse/workspace...............but the eclipse software is in C:/eclipse....by inspection I can see that in the plugins directory in c:/eclipse there is paskage/folder named org.eclipse.jdt.core_3.0.0 which has a jar file named JDTCompilerAdapter.jar. Does the "location" attribute need to refer to this location ? If yes then how should I specify the path as I think hardcoding isn't a solution. I mean I obviously can't say
    location="C:\eclipse\plugins\org.eclipse.jdt.core_3.0.0\org.eclipse.jdt.core_3.0.0.JDTCompilerAdapter"/>
    Please advise !!
    <?xml ...>
    <project name="game" default="Main Build" basedir=".">
         <property name="bin" location="bin"/>
         <property name="src" location="src"/>
         <property name="jardir" location="${bin}/lib"/>
         <property name="jarfile" location="${jardir}/game.jar"/>
         <property name="build.compiler"
              location="org.eclipse.jdt.core_3.0.0.JDTCompilerAdapter"/>

    I'm not exactly sure what you're doing here, but I don't think any of that stuff belongs in the Ant build.xml. That should be generic, something you can run either inside or outside Eclipse.
    The compiler that's used can be specified in Eclipse when you set up paths for Ant. That doesn't belong inside the build.xml itself.

  • Scrambled destination view in installer build specifications LV8.5

    I don't think this build specifications bug has been mentioned yet. I am using LV8.5 Pro under Win XP.
    When configuring a new installer build specs, under Source Files, I select my application item in the Project View and click on the arrow button to add it to the Destination View. The latter then faithfully reproduces the application files hierarchy, for example:
    Application Directory
        Manuals Directory
           Manual.pdf
        Application.exe
        Application.ini
        Startup.exe
        Startup.ini
    However, after I close and reopen the installer properties, the Destination View hierarchy appears scrambled, for example:
    Application Directory
        Manuals Directory
           Startup.ini
        Application.exe
        Application.ini
        Manual.pdf
    Supporting files get moved around the directory tree, some disapper, and others actually appear in duplicate. The outcome is exactly the same every time I repeat this process, but there is no apparent pattern to it.
    Now, when I actually build the installer and later use it, the application gets installed properly, with correct files hierarchy. What doesn't work are the shortcuts. For instance, in the above example, if I create a shortcut to Manual.pdf, it will actually point to Startup.exe. And if I need a shortcut to Startup.exe, I cannot create it because the target is not part of the Destination View.
    Thoughts?

    Dear Zador,
    Bug number 4CM921LJ titled "Shortcuts Added in Installers Are Not Created Properly" is a LabVIEW 8.5 Known Issue.  More information on the bug can be found in Knowledge Base 4EGEL6HY: Wrong or Incorrectly Disabled File Names Displayed in LabVIEW
    8.5 Installer Builder.  If you need an alternative to the workaround presented in the Knowledge
    Base, you can create separate folders for each file you need to have a
    shortcut created for instead of putting them all in one.
    This issue has been fixed in LabVIEW 8.5.1.  Please post back bug 4CM921LJ does not describe your problem.

  • Build Installer LV8.0 - is this real??

    Hi all
    I recently received LV8.0. After playing around and test some new features, I wanted to start to bring all testrigs that run under LV to LV8.0. Therefore I chose one of them, made a LV-project, modified the source code, created a application build script and an installer build script. I run the application build script without any problems. OK - everything's fine up to now. But as I wanted to create an installer, it obviously just creates a lot of "nonsense".
    I checked some additional installers (Datasocket, LV8.0 runtime engine, MAX 4.0, Fieldpoint, Scope and VISA) to make just one Installer, which would be very nice to handle. When checking NI Datasocket, I saw in the distribution title on the right side (see attachment) LabVIEW 8.0 Real-Time Module. Why???? There is no need to include the rt-module, as I don't use it.
    I thought "ok, maybe a wrong string displayed - let's create the installer" and run the build script. While running it asked me for the device driver cd's (ok - could be logical) and out of a sudden it also asked me for the cd of the LV realtime module. Well - I inserted it an continued the build.
    In the end I got a directory structure (Volume/bin/lotsOf"pXX") with a size around 650 MB - for a simple application of approximatly 10MB.
    When I browse some of these "pXX" directories I discover subdirectories like "p14/LV711RTE", "p15/LVBrokerAux71" and lots of different msi-files (for instance "NIRegistrationWizard.msi" - but why?).
    Is there anyone out there who can help me quickly?
    Thomas
    Using LV8.0
    Don't be afraid to rate a good answer...
    Attachments:
    Installer.JPG ‏167 KB

    Thomas,
    Thanks, I too have been waiting for us to have the ability to build installers that include all the drivers and related software you need. There was a lot of work that went into it by a team of people here at NI. Their work is being used in LabVIEW, CVI and TestStand now for generating such installers. I'll pass along your complements to the people involved.
    So you unchecked DataSocket yet your DataSocket communications are still working? I think that might be due to DataSocket being included through one of the other installers. When you check an item we'll include all the dependencies that you need. Most of the time those dependencies don't show up in the list of additional installers, because they are lower level drivers and software you don't interact with directly and don't need to know about. Some of the items that are dependencies for other installers do appear in the list such as DataSocket, LabVIEW Run-Time Engine and MAX. FieldPoint for instance is dependent on MAX and will include it if you are including FieldPoint. If you check MAX too, the Installer Builder will only include one copy of MAX. I'm not sure which of the other items is dependent on DataSocket but it could be getting included that way. Another possibility is some older LabVIEW Run-Time Engines are being included in your installer because of MAX and they include an older version of DataSocket as part of their installer not as a dependency so it could get included that way, but that would be an older version of DataSocket and not what you are using on your development machine. Since you know you are using DataSocket I recommend checking it, so you know the version you are using will get included.
    When you uninstalled LabVIEW Real-Time, the core portion of LabVIEW Real-Time was removed, however any dependencies it had that are also a dependency of another NI Installer would not be removed. As I mentioned earlier LabVIEW 8.0 installed DataSocket and the Real-Time Installer upgraded it. The installers have the necessary logic to know that just because RT installed a newer DataSocket we cannot remove it with RT because LabVIEW depends on it as well. When you ran the RT installer the progress bar probably showed installing part X of Y, and when you uninstalled it there was also a progress bar that showed removing part X of Z. Where Z is a smaller number than Y because some dependencies of other products were updated and they can't be removed until all the installers that need them are removed.
    So the next question is "I want to rebuild this installer without having to put the CD in. How can I do that?" The ideal answer would be for us to have a check box on the dialog when you are prompted for the distribution that says something about copying the necessary files to your hard drive and you could choose to uncheck it. We didn't get around to putting that in for LabVIEW 8.0 but if you happen to use CVI you'll notice they have such a check box and as I said we use the same installer building technology so it wouldn't be unreasonable to see that in the future for LabVIEW . But what can you do right now?
    One options would be to always copy your CDs over to the hard drive before you install them and leave the installers on your hard drive, that way the last place they were installed from was somewhere on you hard drive that can be found without user interaction. We don't do that by default since copying the LabVIEW CD(s)plus the driver CDs would really use up your free space. This is messy though because you have to uninstall everything and reinstall it.
    Another option is to copy the distribution you are being prompted for (the entire disc) to your hard drive and then in the Installer Builder select NI DataSocket and change the Installer location path to the location you copied it to (the top level folder that has a nidist.id file in it). The press OK on the dialog, now the Installer Builder will look in that location for NI DataSocket, until a newer version is installed. We have had some problems with this mechanism not getting all the dependencies from the new location, so it isn't a 100% solution, but I just tried it for DataSocket and it worked.
    The first option will catch 100% of the dependencies, where as the second option unfortunately won't.
    Kennon

  • Create items programmatically !

    Hello ...
    I made ViewObject programmatically, and I try to make dynamic JSP page for this ViewObject, So I don't have fixed ViewObject with specified attributes to build my JSP page items using these attributes.
    I'm using JDeveloper 11.1 with ADF technology, OS Windows XP, WebLogic Serve 10.3, JDK 1.6
    1- Can I create web page item (af:inputText for example) at runtime using managed beans and how ?
    2- Can I create JSP web page at run time ?

    Thanks Chan,
    I made the steps like your code, but I got Null pointer exception at "getChildren.add()" method.
    this is the error message :
    ]] Root cause of ServletException.
    javax.el.ELException: java.lang.NullPointerException
         at javax.el.BeanELResolver.setValue(BeanELResolver.java:345)
         at javax.el.CompositeELResolver.setValue(CompositeELResolver.java:283)
         at com.sun.faces.el.FacesCompositeELResolver.setValue(FacesCompositeELResolver.java:101)
         at com.sun.el.parser.AstValue.setValue(AstValue.java:140)
         at com.sun.el.ValueExpressionImpl.setValue(ValueExpressionImpl.java:255)
         Truncated. see log file for complete stacktrace
    java.lang.NullPointerException
         at view.backing.Untitled1.addComponents(Untitled1.java:88)
         at view.backing.Untitled1.setPanelBorderLayout1(Untitled1.java:43)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         Truncated. see log file for complete stacktrace

  • 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

  • URGENT | Need HELP to build programmatic view criteria

    Hi
    I need to build programatic view criteria like below,
    ((JobId = "SH_CLERK" AND Salary > 2500) OR ( Salary > 2500))
    AND (DepartmentId =100)
    Kindly help how can we achieve this,
    The ViewCriteriaItem objects like below, how to link them to achieve like above statement.
    ViewObjectImpl empVOImpl = getEmployeesView1();
    ViewCriteria vc = empVOImpl.createViewCriteria();
    ViewCriteriaRow vcr = vc.createViewCriteriaRow();
    //criteria for employee id
    ViewCriteriaItem vci1 = vcr.ensureCriteriaItem("JobId");
    vci1.setValue("SH_CLERK");
    //criteria for showing employees whose salary are more than 10000
    ViewCriteriaItem vci2 = vcr.ensureCriteriaItem("Salary");
    vci2.setOperator(">");
    vci2.setValue(new Number(2500));
    //criteria for department
    ViewCriteriaItem vci3 = vcr.ensureCriteriaItem("DepartmentId");
    vci3.setOperator("=");
    vci3.setValue(new Number(100));
    vc.addElement(vcr);
    empVOImpl.applyViewCriteria(vc);
    - Rajesha
    Edited by: user12820425 on May 15, 2013 10:18 AM

    Hi Rajesha,
    You can follow below steps.
    1)Create VOImpl for VO on which you have query based.
    2)Remove Column(eg.JobId) from standard Default ViewCriteria
    3)In VOImpl create method to Create View custom Criteria, Add element
    public ViewCriteria  addCustomVC(){
                ViewCriteria vc = null;
                vc = this.createViewCriteria();
                vc.setName("customVC");
            ViewCriteriaRow vcRow = vc.createViewCriteriaRow();
            vcRow.setConjunction(ViewCriteriaRow.VC_CONJ_AND);
            if(getJobId() != null){ 
                vcRow.setAttribute("JobId", "' job_id = "+getJobId()+"'"); 
            }else {
                vcRow.setAttribute("JobId",null);
            vc.addElement(vcRow);
    return vc;
    }4)Override standard method public String getCriteriaItemClause to exclude above columns
        @Override
        public String getCriteriaItemClause(ViewCriteriaItem viewCriteriaItem) {
            //JobId
            if( "JobId".equals(viewCriteriaItem.getName()) ) {
                return (String) viewCriteriaItem.getValue();   
            }else{
                return super.getCriteriaItemClause(viewCriteriaItem);
        }5)Override public void executeQuery() method to add custom view criteria
    @Override
        public void executeQuery()
                applyViewCriteria(addCustomVC(), true);
                super.executeQuery();
                removeApplyViewCriteriaName("customVC");
        }Thanks,
    Jit

Maybe you are looking for

  • How to find out the selection screen values

    Hi All, in BI we are having the maximum allowed cells as 500000 for a report. for some of the reports execution fetching the data morethan 500000 by different users. i could findout the report and user who has executed, But i wanted to findout for wh

  • Airport Express - streaming iTunes

    I've been give an Airport Express which I'd like to stream music from iTunes. I have a MacBook Pro and a Powerbook G4 at home, both with Airport cards and would like to use the iTunes libraries from both. The MBP runs 10.6.2 and the PB runs 10.5.8. I

  • How Do I Get This Patch To Work?

    I'm struggling to get my iDVD 5 to be able to work on DVD projects over the 4.75 GB (2 hour) limit. I'm using an eMac G4 w/a LaCie external dual layer DVD burner on OS X 10.3.9. All the research I've done so far has led to this French patch at: http:

  • Partner segment issue in IDOC IORDER01

    Hi All, We are using IDOC IORDER01 for sending Order and their detail to a system, for that we are using transaction IORD. Structure of IDOC type is: ZIORDER01   PM/SM Orders (Crt and Upd) Enhancement for OP2000     E10RHDR      PM/SM order Header Se

  • IDOC to file but source 2 Idocs (CREMAS and ADRMAS) send PI as single file

    Hi All, I have scenario IDOC to file but source I am getting 2 Idocs (CREMAS and ADRMAS).I want merge these 2 idoc and send to single file to target. I am working on PI 7.11.Please proved your inputs..... Regards, Ramesh