05-21-2009 05:07 AM
Hi,
I have a project in LV 8.5.1 with several RT targets, and every of them has its corresponding executable under Build specifications (inside the same project).
Every time I want to compile a new release of my software, I must compile one by one , changing Properties every time (because I hace several machines and destination paths can be totally different, or even the icon can change).
I've found the way of automating this compilation process through BuildTargetBuildSpecifications.vi (in Program Files \National Instruments\LabVIEW 8.5\vi.lib\AppBuilder\), but it's very basic because it only lets you select the project and the name of each application.
I need a way of accessing the Properties of every Build specification programmatically (the Destination path and icon path at least), and build everything sequencially.
In the same folder as the mentioned BuildTargetBuildSpecifications.vi there're lots of functions which seem to access to all of these properties, but I've no idea of how to use them (most of them use "object" as input parameter).
Could anybody help me with this?
Thank you very much!
Solved! Go to Solution.
05-21-2009 05:32 AM
05-21-2009 06:51 AM
It's on my list of things to get working in near future. So here is some recources I collected so far:
* JKI Software Blog: 1 Click Build
* Have a look into the OpenG builder (it's Open Source!)
Felix
05-25-2009 08:48 AM
Hi Fruss,
additional to the informations here, I send you a project including a VI making it possible to change the icons programmatically. You only have to choose the path of your project and where your icons are located. I hope this information helps you! If there are any questions you can contact me again.
Best regards
Suse
05-25-2009 08:49 AM
the project...
05-26-2009 09:58 AM
Hi,
I added a simple example to find the destination path programatically, also in your application! You only have to customize your VI-name one time! I hope my example helps you!
Best regards
Suse
07-15-2009 01:14 AM
This is the solution I've implemented: the .lvproj is an xml file and all its properties like paths, names, etc can be edited programmatically.
So, first use xml functions to edit destination paths and then compile the project with BuildTargetBuildSpecifications.vi.