Scripted Build of Host and RT application and installer

Looking to make a script that allows me to create the host application from a project template. But I need it to change some of the values in the project such as file paths, files included in the installer and names of the build exe and rtexe.  I cant find the way that I can  programtally control that thing based on user input.  
This is something I am doing so our developer team can be more consistant about how we compile updates and how they are distribuited to the customer.  
Solved!
Go to Solution.

As for(imstuck) has said, all of what you want to do is possible, but it is spread out over two APIs - the VI server API (property and method nodes) and the application builder API, which is not on the palettes, but can be found in <vi.lib>\AppBuilder\AB_API.
For working with projects, you can get project references through the Application class, then move on to project items, etc.  You can use the class browser (Ctl-Shift-B) to find things.
AppBuilder has several APIs, depending upon what your final target is (source code, executable, packed library, etc.).  Use the appropriate one.
I would strongly recommend you do not directly touch the project file.  It can contain binary information and has a lot of interdependencies.  You may be successful, but your solution will probably be brittle, since the project format can and does change with the LabVIEW version.
If you have any more specific questions, let us know.
This account is no longer active. Contact ShadesOfGray for current posts and information.

Similar Messages

  • Move and redeploy application- and web-servers for Planing?

    Hi, all!
    Have Hyperion Planing ability to move application- and web-servers from unix-machine to another win-machine and after redeploy existing unix-installed planing on it?

    They are actually for for 2 different things. The Sun WAS is for enterprise applications, EJBs and the like.
    Tomcat is for simpler Servlet/JSP hosting.
    The Sun WAS actually uses the Tomcat server as its Servlet/JSP engine then adds EJBs on top.

  • Choosing between external and partner application and problem with login

    We have an application on Oracle App Server 10.1.3.3 and we have an OID server.
    I had taken this for granted that I should define the application as 'Partner Application' and not external application for single sign on.
    Now that we need the 'PASSWORD' retrieved by application, we are considering defining it as an external application.
    There are at least two problems I have encountered defining the application as external:
    1. 'pageConfig:serverDate' is among the login form's inputs in the login page, but I can't set it in orasso 'Edit External Applications' page
    2. After login using SSO as external application and when I click on the application's new link, the login page is shown with the username and password field filled, but I have to click on login button anyway (no automatic and invisible login).
    I will be very grateful if someone gives a general view on the differences between external and partner, whether in this case external has to be used or partner and finally give some comment on my specific problem with login button and manual login.
    Thank you

    Just some information :
    - The problem with LOGIN page exists. I don't have that problem with for example GMAIL when defined as external application, but with my applications in Oracle Application Server.
    - There is also another thing I don't understand. The link to external application is something like:
    javascript:open_jwindow('../ealogin?ID=76D4766','76');
    and couldn't be executed outside pls/orasso
    in other words we can't give that to our users, can we? They should login to orassso and see that?
    We don't want to involve them in Identity Management...
    Any help is appreciated....
    Regards

  • Time Machine hangs and prevents application and machine shut down

    I've been having problems with my Time Machine over the last few weeks and seem completely unable to fix it.
    When time machine starts to back up my machine, it hangs (the clock icon in the top right hand corner of the screen spins, but the backup disk is not being accessed and currently Time Machine shows no backup in the last five days). Once it has hung, various applications start to behave oddly and generally I am unable to shut them down, even via force quit.
    Eventually when I try restarting the machine, it clears everything from the screen except the desktop background and then refuses to go any further.
    Through tinkering I think the problem is the Time Machine disk, but I've run Disk Utility on it, and it says that the drive is ok. At one stage I deleted the Time Machine backup and started again, which was fine for a week, but now I've got the same problems again.
    I do get these messages in console:
    Apr 8 11:09:55 christopher-arthurs-computer-3 /System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.fra mework/Support/lssave[167]: Wrote corrupt store file /Library/Caches/com.apple.LaunchServices-0230.csstore_corrupt
    Apr 8 11:10:04 christopher-arthurs-computer-3 configd[14]: AppleTalk startup failed, status = 92
    Apr 8 11:10:13 christopher-arthurs-computer-3 /System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.fra mework/Support/lssave[169]: Wrote corrupt store file /Library/Caches/com.apple.LaunchServices-0230.csstore_corrupt
    Apr 8 11:10:23 christopher-arthurs-computer-3 /System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.fra mework/Support/lssave[171]: Wrote corrupt store file /Library/Caches/com.apple.LaunchServices-0230.csstore_corrupt
    Apr 8 11:12:31 christopher-arthurs-computer-3 [0x0-0xd00d].com.apple.finder[113]: Unexpected reply from backup server - ignored
    Apr 8 11:12:31 christopher-arthurs-computer-3 [0x0-0xc00c].com.apple.systemuiserver[112]: Unexpected reply from backup server - ignored
    Apr 8 11:12:31 christopher-arthurs-computer-3 [0x0-0x1c01c].com.apple.systempreferences[172]: Unexpected reply from backup server - ignored
    Any ideas? I'm getting very frustrated by all of this.
    Thanks

    PaulArthurUK wrote:
    Through tinkering I think the problem is the Time Machine disk, but I've run Disk Utility on it, and it says that the drive is ok. At one stage I deleted the Time Machine backup and started again, which was fine for a week, but now I've got the same problems again.
    It's possible the drive is beginning to fail. They are mechanical beasts, after all, with moving parts and bearings, and don't last forever, and they do fail without a complete crash. You might try stopping TM, then using Disk Utility to +Erase Free Space+ on it, just to see if DU can write to the unused part successfully. Passing isn't necessarily a clean bill of health, but a failure would be a clear sign.
    Any ideas? I'm getting very frustrated by all of this.
    First, exclude your TM drive from any anti-virus scanning, and from Spotlight, at least temporarily (System Preferences > Spotlight > Privacy).
    None of the posted messages have anything to do with Time Machine backups, except the last few seem to indicate that you may have been trying to do something with the Finder on the TM disk. Normally, you can look, but do not touch any of TM's files. But you do seem to have a corrupt cache you might want to investigate.
    Download the +Time Machine Buddy+ widget from: http://www.apple.com/downloads/dashboard/status/timemachinebuddy.html. It shows the messages from your logs for one TM backup run at a time, in a small window. Navigate to one of the problem backups, then copy and post the messages here (be sure to get them all, as sometimes they overflow the small window).
    Or, if you'd rather use Console, filter for the backupd process to get the TM backup messages.

  • Script to open application, and to quit if already open

    I already have the script for launching one or more applications, and I could make a new one to quit them, but I was hoping it could be made into the same script. Can this be done?

    and what if there's two applications I want to run/quit?
    Easy solution: Just copy the code and paste it as many times as you need, changing the app names as you go.
    Complex solution: add a list of app names and iterate through the list.
    For the most part, if you have a relatively small number of apps, and the list is pretty static (i.e. doesn't change much), then I'd go with option 1.

  • Build java and javafx applications

    Hello everybody! Currently, I am building a netbeans project that consist of java and javax applications and the questions are :
    1. How to call java object in javafx object or it reverse. Which one the better?
    2. How to compile and run the project that consist of java and javafx applications.
    Help me, please!Thank's

    Also, If you want to call JavaFX methods from Java you can use interface and have the JavaFX class extend it (interfaces are extended in JavaFX)
    For example, make interface FXAdapter.java
    interface FXAdapter {
         public void modifyLayout();
    }And in your FX class
    public class FXClass extends FXAdapter {
         public override function modifyLayout() : Void { /*Implementation*/ }
    }Now in your java class you can ask for FXAdapter as a parameter and pass a FXClass object

  • Difference between ISA webshop and ISA application

    Hi ,
    I have a basic question regarding the ISA , I work on ISA b2c and b2b application and came across webshop what is the difference betwwen an ISA application and ISA webshop where does this Webshop reside ? on J2EE engine and is it default provided by when a application server like 6.2 or 6.4 is installed or where dose it reside ?  I know it is accessed through and URL shopadmin or so ? but not sure how to install it on my local server and so forth please some one give me anidea of it and let me know in lane terms what does this webshop mean . If you want to send any documents feel free to send it to [email protected]
    Thanks in advance

    Instead of explaining it all again here are some posts around the same subject
    Re: what is the Differenc between Classic Planning and EPMA
    Hyperion Planning - Classic Administration vs EPMA ....
    Re: The advantage of using EPMA?
    EPMA compare to Classic
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Difference between Classic Planning and EPMA Application

    Hi All,
    We are currently working Hyperion Planning version 9.3.1 and we do use Classic Planning Administration. We are in the phase of upgrading to version 11.1.2 and thinking of using Enterprise Performance Management Architecture to work with applications . Kindly let me the difference between Classic Planning and EPMA Application and its cosequences on upgradation.
    Thanks in advance

    Instead of explaining it all again here are some posts around the same subject
    Re: what is the Differenc between Classic Planning and EPMA
    Hyperion Planning - Classic Administration vs EPMA ....
    Re: The advantage of using EPMA?
    EPMA compare to Classic
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • What providers can host a JSP application?

    Dear fellows,
    I am looking for Providers that can host my JSP application and a Database (Access, SQL Server, PointBase or mySQL). Do I need to register a name with that same provider or is that a separate matter?
    Thanks for your inputs.

    After much research and deliberation I chose SuppleHost and have been very happy with performance and service -- not a shared JVM and full access to the server through SSH. I have worked with other providers and can't say that they're all this good.
    http://www.supplehost.com/index.jsp
    Chris.

  • Build and Install application

    Hi all,
    Could you tell where can I find script to create exe install application.
    I created workspace + application + schema with several table and now I would like to export it to an another server. I already used export application / export workspace / export CSS....throught htmlDb page, but without data. I don't want to create a Dmp export each time I need to export appliation.
    TO resume If someone knows how can I create the same program like example application we have on htmldb...it'll be great
    Olivier
    Email ; [email protected]

    Well, Oracle XE comes with Application Express
    version 2.1.
    Up until then you can only export the application and
    the CSS / Static files / Themes.
    Starting with Apex 2.2 you can also export the
    required database objects and the data. But this
    feature is not available in the current release of
    Oracle XE.
    You would have to use exp/imp or expdp/impdp or use
    DBMS_METADATA to extract the DDL
    (http://www.oracle-base.com/articles/9i/MetadataAPI.ph
    p).
    Or you could use Toad or other tools that help you
    extract the ddl and the data.
    Regards,
    ~Dietmar.You can get the database scripts and such built, you just need to do them seperately.. I would suggest getting SQL Developer installed, use it to get the DDL scripts to build you tables and database objects in a script.
    Any other questions, please feel free to ask!
    Thanks!
    Tony Miller
    Seattle City Light

  • I am trying to build a basic TCL skeleton script that reads a remote SNMP OID and displays the value on the screen.

    I am trying to build a basic TCL skeleton script that reads a remote SNMP OID and displays the value on the screen.
    I don't want it to be an EEM Event, I just want to run it from the (tcl)# prompt.
    So I guess I'm asking if you can use cli_exec and other commands in the "namespace import ::cisco::eem::*" in a normal non-EEM script - can I do that?
    This is the error I get:
    OTN.159(tcl)#source flash:TCL_SNMP_Remote_Read.tcl
    invalid command name "::cisco::eem::event_register_none"             ^
    % Invalid input detected at '^' marker.
    What am I missing?
    =================  TCL_SNMP_Remote_Read.tcl  ==============================
    ::cisco::eem::event_register_none
    namespace import ::cisco::eem::*
    namespace import ::cisco::lib::*
    if [catch {cli_open} RESULT]
        { error $RESULT $errorInfo }
        else { array set cli1 $RESULT }
    if [catch {cli_exec $cli1(fd) "snmp get v2c 192.168.1.100 public timeout 1 oid 1.3.6.1.2.1.1.1.0" } RESULT]
           { error $RESULT $errorInfo  }
           else { set SnmpSysDesc $RESULT }
    if [catch {cli_close $cli1(fd) $cli1(tty_id)} RESULT] {
                error $RESULT $errorInfo
    puts $SnmpSysDesc
    =========================================================================
    In the sho-run config I have:
    event manager directory user policy "flash:/"
    event manager session cli username "cisco"
    Any help to get me started would be greatly appreciated!
    Tim

    If you don't want an EEM policy, then don't use any of the EEM constructs.  Instead, all you need is this:
    set output [exec "snmp get v2c 192.168.1.100 public timeout 1 oid 1.3.6.1.2.1.1.1.0"]puts $output

  • Crawl issue - warning: "This URL is part of a host header SharePoint deployment and the search application is not configured to crawl individual host header sites. This will be crawled as a part of ....a start address"

    Hello all,
    I have a multi-tenant environment in SharePoint 2010 server. Different tenants are hosted by one web app.
    One content source has been created to crawl the all shared environment. (the only URL added in the content source settings = URL of the
     web app)
    Crawl everything under the hostname for each start address has been selected when creating this content source.
    Now I have created a new tenant hosted by the same web app. For this new tenant I want to have a different crawl schedule. Simple , I just create a new content source and add the host URL of this tenant. With the same settings has the other content source.
    After having started a full crawl I get 0 success and 1 warning : “This URL is part of a host header SharePoint deployment and the search application is not configured to crawl
    individual host header sites. This will be crawled as a part of the host header Web application if configured as a start address.”
    The first content source is well crawling the new tenant freshly created. Could you tell me where I’m wrong?
    Thanks in advance
    Regards
    Baldo

    Baldo,
    In the configuration that you described you now have 2 content sources set to crawl the same content. If you have a content source with a start address of http://servername/ then it is going to crawl everything past that address. If you are now changing
    the crawl schedule based on the individual site collections, you will need to move your start addresses further down the URL.
    For Example:
    1st Content Source:
    http://servername/ as a start address would now become
    http://servername/site1
    http://servername/site2
    2nd Content Source:
    http://servername/site3
    Also remember that all crawling must happen on the default zone. If you are trying to crawl a zone that the web application has been extended into, that will not work.
    ScottC - Microsoft SharePoint Support

  • I want to change IP and Host Name of application serve

    our application server is on IBM AIX platform and now i want to change IP and Host Name of application server?

    Hi Again;
    For Ip please see:
    How to change the IP Address for a Release 11i Instance ? [ID 364099.1]
    How to Change IP Address in an Oracle Applications Environment [ID 553318.1]
    PS:Please mention your EBS version
    Regard
    Helios

  • Building a best practice web application using ColdFusion and Jave EE

    I've been tasked with rewriting a software using ColdFusion.  I cannot seem to find a lot of information on best practice development in ColdFusion.  I am an experience Java developer who has never used ColdFusion before.  I want to build this application using a synergy of ColdFusion and Java EE technologies.  Can someone recommend me a book that outlines how to developer in ColdFusion?  Ideally this book assumes the reader is an experienced developer with no exposure to ColdFusion.  Ideally the methods outlined in the book are still "best practice" methods.

    jaisheela wrote:
    Hello Friends,
    I am also in the same situation.
    I am a building a new web application using JSF and AJAX.
    Requirement is I need to use IBM version of DOJO and JSF but I need to develop the whole application using Eclipse 3.3,2 and Tomcat 5.5.
    With IBM version of DOJO and JSF, will Eclipse and Tomcat help to speed up the development or do you suggest me to go for Rational Application Developer and WebSphere Application Server.
    If I need to go with RAD and WAS, then I am new to RAD and WAS, is it easy to use RAD and WAS for this kind of application and implement web applicaiton fast.
    Any feedback will be great help.Those don't sound like requirements of the system to me. They sound more like someone wants to improve their CV/resume
    From what I've read recently, if it's just fast you want, look at Ruby on Rails

  • Build application and installer

    I build application and installer same the problem
    please see the figure
    Attachments:
    Mohammad 1.doc ‏870 KB
    moh.doc ‏253 KB

    If this is an answer to this thread, post a reply in there.
    Duplicate post.
    Regards,
    André
    Using whatever version of LV the customer requires. (LV5.1-LV2012) (www.carya.nl)

Maybe you are looking for