LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Revision History and Retrieving Old Revisions

Solved!
Go to solution

I currently use the Revision History's "Ask for comment on Save" option (very nifty, I must say). Can LabVIEW automagically save a VI with the revision number in the filename? That way, I'll end up having many, many VIs saved so I can revert back to any one of them if I need to?

 

Also, if there IS this kind of option available, is it "smart" in such a way that all dependancies are automatically updated to the latest revision?

 

I guess I'm looking for better revision control, something more like text-based programming and projects.

 

I want to be able to do this without needing to go through the process of: File -> Save As... -> Copy: Substitute Copy for Original -> append revision number to filename.

 

Thanks

0 Kudos
Message 1 of 3
(3,231 Views)
You should really think about a real revsion/source code control system like subversion, visual source safe, perforce, etc. Changing the file name each you do a save sounds like a huge mess even if it could be done automatically - which it can't. LabVIEW can make use of the same source code control programs that text based programmers use.
Message 2 of 3
(3,221 Views)
Solution
Accepted by topic author dthor

Dennis is right about using source code control.  I use Visual Sourcesafe (VSS), and it interfaces with Labview quite well.  I hear that Perforce also interfaces well.  In Labview, there is a Source Control option under the Tools menu.  From there, you can add files to your source control database.  You can also check files in and out.  This will do exactly what you want to do, save older versions of VIs, without having a ton of renamed VIs on your hard drive.  You have the option to get any version you wish at any time.  Source control does a whole lot more that just this, but I don't want to go into all the details here.  You should look into getting source control software.

 

- tbob

Inventor of the WORM Global
Message 3 of 3
(3,198 Views)