LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Generic File I/O Error: Not Valid LabVIEW File

Hello,
 
     I have a finished VI which is giving me some problems. When the VI, which is written in LabVIEW 8.0, and located on a local machine, is selected, LabVIEW initializes, then an error prompt appears. The prompt reads:
 
Generic File I/O Error:
 
File is not a valid LabVIEW File.
 
Please note that the file was previously working, and has not been renamed. The file does have the ".vi" file extension. The VI is attached if that may help.
 
Thanks.
0 Kudos
Message 1 of 7
(4,748 Views)
Looks like your VI has become corrupted. Do you have a backup? If you submit to NI support they will likely be able to fix it.


Message Edited by smercurio_fc on 06-03-2008 09:42 AM
0 Kudos
Message 2 of 7
(4,745 Views)
Can you still open the file in LabVIEW 8.0?
Asa Kirby
CompactRIO Product Marketing Manager
________________
Sail Fast!
0 Kudos
Message 3 of 7
(4,721 Views)
No, unfortunately it won't open at all... else I would just copy out the code and salvage what I could
0 Kudos
Message 4 of 7
(4,711 Views)
I had a similar error using LV8.2.  Unfortunately it could not be recovered.  😞  The good side was that I do daily backups and only lost one day of work.
 
I never found out what exactly caused it... or how to avoid it...   But I now do 1 to 2 daily backups of active projects.
 
RayR
0 Kudos
Message 5 of 7
(4,704 Views)
BigJWill,

Unfortunately, this error denotes a corrupted VI. If it will not open in the version of LabVIEW it was created in, there is nothing that can be done. The VI is non-salvageable. You best solution is to create a new VI and begin development again. The Knowledge Base article below will give you a bit more information.

LabVIEW Error File is Not A Resource: The File is Not A Valid LabVIEW File
Asa Kirby
CompactRIO Product Marketing Manager
________________
Sail Fast!
0 Kudos
Message 6 of 7
(4,679 Views)

It would be great if there was a tool to recover parts of a corrupted VI.  Not that it would be something simple to do.  Just wishful thinking..  😉

It would probably result in a bunch of vi's on a block diagram that have lost all there relationships from one another and be pretty much meaningless. 🙂

Best practice is to backup and backup often..

RayR

0 Kudos
Message 7 of 7
(4,673 Views)