Solution
Unfortunately, this error message indicates that your VI may have become corrupted. there are several workarounds to try to recover the code that has become corrupted
Attempt to Copy Code
- From the block diagram of the corrupted VI, click Edit >> Select All or press Ctrl-A
- Click Edit >> Copy or Ctrl-C
- Open a new VI
- Click Edit >> Paste or Ctrl-V in the new VI
Note: Corrupted VIs sometimes prevent code from being successfully copy and pasted. If this is the case, you may try copying your code in chunks rather than all at once
Recover From Backup fileIf copy-pasting doesn't work, you may need to access your most recent backup copy of the file and re-code from your last save point. Depending on your auto-save settings, there may be an auto backup in the following file location where <user name> is replaced with your computer user name.:
C:\Users\<user name>\Documents\LabVIEW Data\LVAutoSaveUse Backup as a Template for RebuildIf recovery options do not work or are incomplete, then take a screenshot of the corrupted VI's block diagram and use it as guide to rebuild your VI in a new file.