LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Application Builder- how to get rid of Saving changes to project after build?

Solved!
Go to solution

Hi

 

I'm using LabView for Continuous Integration project with Jenkins. I have a vi that runs test cases and makes build of the project, then Jenkins reads information about the results.

After successfull build, there is a warning that I have unsaved changes in project that I wanted to build. This message is holding labview from closing and jenkins from showing results

 

I found here the information about this warning in first "Note"

http://ftp.datx.com/Public/DataAcq/LV-Link/LVLinkWebHelp/Building_and_Distributing_an_Application.ht...

 

How to get rid of this warning, or save the changes automatically, so that I don't have to click on "Save" after every build?

 

Thanks

Karol

 

0 Kudos
Message 1 of 3
(2,623 Views)
Solution
Accepted by topic author karolek

First of all, you don't want to get rid of this warning. It's this save that makes the auto-incrementing version number work. LV has to save the new version number into the project.

 

Yes, you can do a save. Somewhere there needs to be LV code that programmatically performs the build. At the end of this process you need to save the project. There is a project method to do this.

 

I wrote a little program for myself to open a project, perform the selected builds and copy the resulting installer to a thumb drive.

 

Mike...


Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
Message 2 of 3
(2,591 Views)

Exactly!

 

I had to open project to get reference number (using invoke App->Project open), then after building, invoke Project-> Save and close reference

 

Thank you!

K

0 Kudos
Message 3 of 3
(2,572 Views)