06-17-2011 10:50 AM
I tried to open a vi while the folder the vi is in was being coppied to a backup location. I got a Generic file I/O error, and the vi wouldn't load. After the copy process completed, I rebooted, and tried again to load the vi. It still failed, so I tried to load the backup file, and it also could not be loaded. Is there anything I can do to save this file? I recently put a lot of work into it, and the working backup I do have is before any of the new work took place.
Thanks
Solved! Go to Solution.
06-20-2011 08:52 PM
Are you able to open the VI at all? If you can open it, try copying the block diagram into a new, blank VI. Most likely the VI has become corrupted and pasting into a blank VI and resaving can fix the corruption.
Unfortunately if LabVIEW closes upon trying to open the VI and you are unable to access the block diagram, then it has become corrupt. There is no way to recover the VI or to extract certain parts of the VI from the file. The only solution is to start with a blank VI and reprogram the corrupted VI again. You may consider running a file recovery scanner on your PC to see if there is any part of it that is recoverable. Though it seems you will have to use your backup version.
Jordan G
06-21-2011 06:19 AM
Thank you! I was afraid of that, but I had to try anyway.
06-24-2015 06:10 AM
Could you open the vi? I am facing similar situation and dont know what to do..
06-24-2015 06:21 AM - edited 06-24-2015 06:22 AM
The only thing I could do, was open a much older copy, and redo all the work. I lost quite a lot of time, but I learned to never try to open a vi while it was being coppied somewhere else. I regularly back up my vi's, and just sit idle until the copy is finished, or have the vi open before the copy starts and not try to save until it is finished. Another area to stay away from is trying to do something else when a vi is compiling for an executable. It is OK to do something else when an installer is created, but not when a vi is compiling.
06-24-2015 10:11 AM