Jump to content

Corrupt vi - tip


Recommended Posts

A power failure crashed my LabVIEW before I pushed some important work to the repository.

Recover seemed to work yet I got a message saying that the vi can't be saved and it was actually corrupted:

"Cannot load diagram of "....vi""  and the only option is "cancel save".

Regular cut and paste tricks didn't work and before starting to go over the Hex code I tried something that I didn't see anyone write about and it worked so here it goes for those future corruption fighters (I can't promise it will work each time though):

The VI was written in LV 2011. I tried opening a new vi by using the still opened corrupted vi as a template.

It didn't work.

I moved up to LV 2013 and it still didn't work.

Trying the same with LV 2014 did the magic.

All that was left to do is to save to previous version (LV 2011) and correct the file's location and name.

Done. 

  • Like 1
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.