LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Is there an option to "Don't Save Changes" to a VI

Solved!
Go to solution

Hi,

 

Often times I will open VI's and maybe I clicked through tab controls or scroll through the Block Diagram ...

 

In any case - LabView doesn't allow me to Not Save those changes, which then makes it look like I edited the VI.

Is there a way where I can click to NOT SAVE when I close, rather than to defer to when I have to close the whole project and then hopefully I remember which ones I changed and which ones I just opened for reference?

 

Michael

 

0 Kudos
Message 1 of 7
(3,168 Views)
Solution
Accepted by topic author BeginnerMan

Before closing the VI you can select File|Revert then colse the file.

 

Kelly Bersch
Certified LabVIEW Developer
Kudos are always welcome
Message 2 of 7
(3,166 Views)

I like this concept for two issues. Sometimes I'm temporarily  editing VIs that I don't want to save.  I have to keep a list of which files I need to revert before saving and closing the project.  Often these files are in memory but the windows aren't open, so it's not as simple as it could be if I could just mark a VI to not save when closed.  The second issue is when I open a VI in a newer version of LabVIEW and I defintely do not want to save most of the VIs in the new version.  I might have to click through a lot of VIs that I don't want to save.  Even worse is when someone opens them in a newer version and saves them without knowing and I have to go back and resave them all in a previous version.  

0 Kudos
Message 3 of 7
(1,093 Views)

The solution to this problem is to use a source code control (SCC) tool, like SVN...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 7
(1,070 Views)

Using TortoiseSVN, but still a lot of work to commit and revert.  I've been frustrated with this for many years and saw someone had a similar suggestion, but they had a workaround and why use a workaround when NI could just fix it.  I'm transitioning to Python anyway, so I don't really care too much.

0 Kudos
Message 5 of 7
(1,062 Views)

Yamaeda_0-1697704189573.png

 

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
Message 6 of 7
(1,049 Views)

Thank you for that.

0 Kudos
Message 7 of 7
(1,037 Views)