LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Batch builds of LV apps

I'm trying to include the compilation of our labview applications as part of our automated build process.

I've written a vi that uses BuildTargetbuildSpecification.vi to build all the build specifications from a given project. The project file name is provided via the command line. Everything works in that the project builds the only issue that I have left to resolve is that labview displays a dialog asking if I want to save the target project file. I need to ether clear this dialog (hit save) or prevent it from displaying.

Additional info/questions:
- I'm using Labview 8.2
- I examined the project file before and after my program and it actually has _not_ changed (so the dialog I'm getting should not exist).
- Can I enable an autosave?
- I run the program like this:
labview.exe BuildProject.vi * myproj.lvproj
I tried compiling BuildProject.vi to an exe but it didn't work. One of my co-workers sent me a conversation with one of your support agents where the agent stated that this was a flaw in the Labview runtime.

Can you make any suggests on how to handle the dialog or suggest some other approach that I should try?

Troy

0 Kudos
Message 1 of 3
(2,659 Views)
Troy,

Is it possible for you to programatically save the project thus preventing the development environment from prompting you to do so?

There is a Save » Project method in the Library invoke node.

Let me know if this doesn't help and we can try something else

Simon Hogg
Applications Engineer
National Instruments
http://www.ni.com/support/
0 Kudos
Message 2 of 3
(2,634 Views)
Nice idea!
There are (for windows at least) programs that can bypass certain dialog boxes by selecting default items. I don't know their names, but I think some are at download.com. Maybe this is a way to go!

Ton
Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas

LabVIEW, programming like it should be!
0 Kudos
Message 3 of 3
(2,628 Views)