09-26-2014 08:27 AM
In the pre and post build VIs we have the option of running, is there any way to get which build spec they were launched from (i.e. if you have multiple builds in a project)? Also, is there a way to pull the output directory via property nodes, or do I have to parse the project XML?
Solved! Go to Solution.
09-26-2014 08:58 AM
I did a quick test with a Pre-Built VI and the template that's created by the build spec already provides the two items you requested inherently. I just wired up some indicators and forced the FP to show to test, but I'd imagine you could log it to a file or pass it into something else as needed.
This is with LV 2013 (32-bit).
09-26-2014 09:33 AM
I had always completely overlooked that template. The generate VI button is right there staring at me...
Thanks!
09-26-2014 12:29 PM
@GregFreeman wrote:
I had always completely overlooked that template. The generate VI button is right there staring at me...
Thanks!
Next step Greg: Please invent someting that will roll easilly!
09-26-2014 03:04 PM
Pre and Post build VIs are one of my favorite build tools, but I rarely use them because it usually makes other team members uncomfortable.