When closing a VI that has been edited, the "Save Changes?" dialog pops up asking if we'd like to save, defer the decision, or cancel the close operation. There should be a 4th option, one that reverts the VI to the previous saved state. It could be called Revert or Discard Changes, that doesn't matter.
When I was first starting with LV, it took me quite some time to remember to File -> Revert before closing a subVI that I didn't want saved. Heck, I still do it once in a while. I'll make changes to a subVI that end up vastly modifying the output (just to test something, let's say), and I'll close the VI and Defer the save decision. Then I'll run my toplevel and wonder why the heck my output looks so wrong
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.