Shaun Hayward Posted July 13, 2010 Report Share Posted July 13, 2010 For a complex application, with plugins, executables, and installers, a programatic build method (ie click GO to build the lot) has serious benefits. I've got this up and running on one of my larger projects but one of the things that has always bugged me with using the Application Builder API is this: Is there anyway to get any kind of status information out of the Build VIs? When building manually (right-click on the spec-> build...) a nice dialog pops up describing how far along the process has come etc. However, when using the App Builder API, I cannot see any way to get any feedback from within a build operation. Is there anyway to get some status information or at least display the standard dialog? Thanks, shaun Quote Link to comment
jgcode Posted July 14, 2010 Report Share Posted July 14, 2010 For a complex application, with plugins, executables, and installers, a programatic build method (ie click GO to build the lot) has serious benefits. I've got this up and running on one of my larger projects but one of the things that has always bugged me with using the Application Builder API is this: Is there anyway to get any kind of status information out of the Build VIs? When building manually (right-click on the spec-> build...) a nice dialog pops up describing how far along the process has come etc. However, when using the App Builder API, I cannot see any way to get any feedback from within a build operation. Is there anyway to get some status information or at least display the standard dialog? Thanks, shaun For me, a programmatic build method refers to "automation" and therefore I don't normally stand there and watch it however, I do like to track the stages of building with messages to the UI. I used to have a timer running in a parallel thread however, running the NI Builder API locks up everything so the timer doesn't even update at slow rates. Anyways, I don't know how one would access the info from the API (if it was there) maybe by polling a resource in parallel or subscribing to an event? This would add extra complexity to your build process architecture which would be a pain IMO (and that is why I scraped the parallel timer and just get the total build time for interest). If the info is not available then maybe if the entire dialog (rather than just the info) was automated/included in the API; e.g. a parameter that was: Popup Status Window During Build = TRUE; then that would be easier to use in a custom build process? Maybe a post for the Idea Exchange?? 1 Quote Link to comment
dannyt Posted July 14, 2010 Report Share Posted July 14, 2010 If the info is not available then maybe if the entire dialog (rather than just the info) was automated/included in the API; e.g. a parameter that was: Popup Status Window During Build = TRUE; then that would be easier to use in a custom build process? Maybe a post for the Idea Exchange?? HI Just added you some Kudos for the comment above. If you post it into the Idea Exchange, I would vote it up cheers Danny Quote Link to comment
Shaun Hayward Posted July 14, 2010 Author Report Share Posted July 14, 2010 Idea Posted: http://forums.ni.com/t5/LabVIEW-Idea-Exchange/Provide-status-dialog-for-Application-Builder-APIs/idi-p/1181125 Shaun Quote Link to comment
jgcode Posted July 14, 2010 Report Share Posted July 14, 2010 HI Just added you some Kudos for the comment above. If you post it into the Idea Exchange, I would vote it up cheers Danny I kudo'd it up on the Idea Exchange too. Quote Link to comment
joerghampel Posted March 27, 2015 Report Share Posted March 27, 2015 With the last post being nearly 5 years old, perhaps someone has found a ways to achieve something like this? I'm using vi.lib\AppBuilder\AB_API_Simple\Build.vi for programmatically building stuff, and I'd really like the possibility to register for a user event, similar to the NI System Configuration Toolkit (vi.lib\nisyscfg\Register User Event.vi). (cross-posted here) Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.