03-20-2012 12:48 PM - edited 03-20-2012 12:49 PM
Is there a good method for programmaticaly creating executables? In my search I have stumbled across a few different approaches.
The first one is the OpenG builder and another method was using a VI that actually added a Build Specification to the project and filled in all the properties to create the desired executable (I attached this VI).
Before I began to seriously dig into either of these methods I just wanted to see if there is some preferred way of doing this, there may even be some other methods that I haven't found yet, or maybe there are some VI's out there that somebody has built that is better than the one I have posted here.
I will give a brief explanation of my primary use:
So we have a certain type of application that we use to communicate with the IC's that we develop here at my company. Everytime we develop a new IC a new application needs to be built to talk to it, not only one acutally but two: one for our internal use, and then one for our customer's use. The applications that are built to communicate with the IC's are very similar from one IC to the next, however there are differences in the inputs to Application Builder such as:
Build Specification Name
Target Filename
Destination Directory
and more...
So what I would like to do, is have some kind of a form, maybe in excel or something that I fill out that has all the paramaters needed to build an executable. Then have a VI that reads in the excel sheet and spits out an executable. This would be extremely helpful, I have noticed that the Application builder is a bit buggy, I have had to re-enter all of the information into those forms many times, that is a big pain - I am hoping this method wil be able to avoid that hassle.
I am currently using LabVIEW 8.5
Thanks for all your help!
03-20-2012 02:25 PM
LV2011 has a very complete (or at leastit looks complete, I haven't actually tried it) for doing what you want, but under V8.5 your options are very limited.
Mike...
03-21-2012 03:57 PM
Hi amaglio,
As Mike said, there aren't a lot of tools related to streamlining the Application Builder process. LabVIEW 2011 contains a Build VI feature that will set some of the Build Specifications programmatically.
http://zone.ni.com/reference/en-XX/help/371361H-01/glang/build_vi/
I would give the VI you posted a try, as it seems to do a lot of what you are looking for. I included another simple program builder I found that works in versions prior to 2011 when the Build VI was introduced.
http://zone.ni.com/devzone/cda/epd/p/id/5051