ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Corrupt VI

Solved!
Go to solution

Hi all, I tried to open my VI and i received this error message.Capture.PNG

 I worked on the VI all day yesterday and have done for the past few weeks. when I closed the program I got a message saying "cannot load Help Information..." and then when I tried to reopen the VI I was greeted with the error message above. The corrupted file is attached below. The fie was about 300kb and since its been corrupted its now only 2 kb. I haven't changed any code or moved any files I simply ran the program and now its corrupted. Any help as to what happened or how to fix this would be greatly appreciated!

 

 

0 Kudos
Message 1 of 4
(2,993 Views)
Solution
Accepted by cwel

Restore from your source code control repository. Here is the contents of the file you attached " 12:36:27.4, 21.849887, 21.779021, 21.767071, 21.741444, 21.415369, 21.422600, 21.331456, 21.565021, -0.106434 12:36:27.5, 21.857221, 21.792447, 21.771514, 21.749580, 21.422012, 21.429422, 21.346561, 21.573691, -0.125244 12:36:27.8, 21.852693, 21.793580, 21.771554, 21.749034, 21.418742, 21.429604, 21.340524, 21.567492, -0.108506 12:36:28.8, 21.861184, 21.799176, 21.777462, 21.758391, 21.425663, 21.439769, 21.343790, 21.574918, -0.096765 12:36:29.8, 21.852381, 21.793165, 21.771300, 21.752643, 21.417159, 21.431246, 21.340737, 21.571274, -0.115421 12:36:30.8, 21.869663, 21.795541, 21.772374, 21.745867, 21.422946, 21.433367, 21.339457, 21.573802, -0.103411 12:36:31.8, 21.870679, 21.795380, 21.782172, 21.754471, 21.425516, 21.436606, 21.342995, 21.571735, -0.095613 12:36:32.8, 21.862094, 21.794974, 21.773433, 21.752602, 21.427673, 21.436620, 21.335978, 21.566505, -0.069407 12:36:33.8, 21.867965, 21.803489, 21.781149, 21.762187, 21.432960, 21.444468, 21.346575, 21.576570, -0.083098 12:36:34.8, 21.870135, 21.800365, 21.775796, 21.755865, 21.426144, 21.445262, 21.338496, 21.562535, -0.053900 12:36:35.8, 21.870007, 21.809993, 21.783206, 21.764166, 21.431352, 21.443555, 21.342022, 21.568790, -0.065344 12:36:36.8, 21.861941, 21.803502, 21.778871, 21.759708, 21.429308, 21.439628, 21.334911, 21.567633, -0.061145 12:36:37.8, 21.872751, 21.808035, 21.786698, 21.765379, 21.439386, 21.443200, 21.338748, 21.571079, -0.049545 12:36:38.8, 21.869120, 21.800443, 21.781223, 21.761815, 21.434544, 21.438917, 21.337799, 21.567708, -0.058244 12:36:39.8, 21.868881, 21.804454, 21.790794, 21.760833, 21.437498, 21.448446, 21.342993, 21.566529, -0.042850 12:36:40.8, 21.864596, 21.801825, 21.788043, 21.763992, 21.435016, 21.445186, 21.331635, 21.569743, -0.038437 12:36:41.8, 21.873817, 21.797389, 21.785756, 21.755318, 21.427402, 21.439007, 21.336134, 21.556869, -0.048330 12:36:42.8, 21.866922, 21.798963, 21.785801, 21.765002, 21.432187, 21.437169, 21.333774, 21.561771, -0.047675 " Apparently you overwrote the vi with data


"Should be" isn't "Is" -Jay
Message 2 of 4
(2,977 Views)

Hey Jeff,

Thanks heaps that makes a lot of sense. I've restored a previous version and its all good now thanks so much for your help!!

Message 3 of 4
(2,965 Views)

@cwel wrote:

Hey Jeff,

Thanks heaps that makes a lot of sense. I've restored a previous version and its all good now thanks so much for your help!!


YAHOOOEY!!!  Someone who actually had a backup to restore from.  Wearing a safety harness BEFORE you crash is always the best approach.  🙂  Most people who come here to lament about a corrupt VI usually didn't have the foresight to make backup copies and/or commit them to a repository.

 

Good for you!

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 4 of 4
(2,942 Views)