LabVIEW APIs Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Undo for BD cleanup method

I have found the BD cleanup method to be invaluable with scripting.  Just drop everything and clean up at the end.  Now I have a case where I am modifying existing code and along the way I end up with a few broken wires and some kinks.  A quick BD cleanup is usually very effective.  However, I would very much like the ability to Undo the changes at the end if I don't like the results, and the BD cleanup method seems to wipe out undo transactions.  I can place begin/end transaction around the BD cleanup and still no luck.  Any workarounds, or am I missing something.  Same behavior with remove bad wires, at least this is easily worked around with a little traversal.  I thought that saving and reverting might work, but saving also seems to take out the undo buffer.

0 Kudos
Message 1 of 2
(3,339 Views)

tst  pointed out on the LV discussion forum that calling the CleanUp method on Diag.TopLvlDiag is undoable.  Excellent.

0 Kudos
Message 2 of 2
(2,546 Views)