01-27-2011 12:43 PM
Is there a way to use the scripting built into LabVIEW 2010 to automatically instantiate a force recompile?
Before every build I ahve to force recompile my large project (3k vis) in parts. Having more than 2500 vis in memory, it only recompiles a very small percentage. Opening smaller VIs seperately appears to fully recompile correctly. I'd like to use the prebuild VI in the EXE build in the project to help automate this step.I've already automated finding activeX calls to 3rd party routines/dll's in VI's to run in the User Interface thread (single Thread) and this would greatly speed up our build procedure.
Solved! Go to Solution.
01-28-2011 08:12 AM
Such a method does exist, but it is a private method. I have confirmed that the method is stable and created a wrapper VI which contains it, which I attached below. Note that since it is a private method, it may change in the future. Let us know if you run into problems.
01-28-2011 01:23 PM
This solution works great! Especially the option to recompile the entire heirarchy! Very nicely done and easy to use.
If it had an option to show file progress, it'd be even better, but I'm quite happy having the ability for our build scripts.
Building an exe each week for beta testing used to be cumbersome, but now much easier. Many Thanks!