<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Fixing corrupt VI in LabVIEW</title>
    <link>https://ni.lithium.com/t5/LabVIEW/Fixing-corrupt-VI/m-p/2371898#M738136</link>
    <description>&lt;P&gt;Yeah, well it's pretty annoying.&amp;nbsp; I was working on a small utility, hadn't saved it since opening it today, and both the source file and the autosave is corrupt.&amp;nbsp; That may be unfortunate, but it is also &lt;STRONG&gt;UNRELIABLE.&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 01 Apr 2013 22:31:05 GMT</pubDate>
    <dc:creator>Spaz</dc:creator>
    <dc:date>2013-04-01T22:31:05Z</dc:date>
    <item>
      <title>Fixing corrupt VI</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Fixing-corrupt-VI/m-p/2091288#M682658</link>
      <description>&lt;P&gt;Classic noob case of not doing autobackups for some small project. Usually I work straight from Dropbox, but the last two weeks I was on a new machine and just didn't make obviously (now) small effort to set it up. Anyway, I've seen a few posts from last year where a couple of individuals magically fixed the header/footer of the VI in a hex editor. I've tried browsing it, and doing random stuff (replacing first few bits from a new file, etc.). I'm just hoping for a bit of that same magic before starting the rebuild.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Specifically loading the VI gives:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;"LabVIEW: File is not a resource file. The file 'ManualControl.vi' could not be loaded."&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Developed in Labview 2011 64-bit. I'm with a university, but I don't think there is free support from NI available anymore for us academics.&amp;nbsp;Thanks for your time.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jul 2012 18:38:41 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Fixing-corrupt-VI/m-p/2091288#M682658</guid>
      <dc:creator>Klox</dc:creator>
      <dc:date>2012-07-17T18:38:41Z</dc:date>
    </item>
    <item>
      <title>Re: Fixing corrupt VI</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Fixing-corrupt-VI/m-p/2091668#M682750</link>
      <description>&lt;P&gt;I was in similar situation few days ago, almost lost my 3 months worth of work. Only thing that saved me was my laptop that was closed at home and did not synch up to the currupted version yet. Had to go home, disable wifi and retrieve the earlier version. I would also like to know if there is a way to retrieve these vi.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jul 2012 22:43:23 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Fixing-corrupt-VI/m-p/2091668#M682750</guid>
      <dc:creator>odessy27</dc:creator>
      <dc:date>2012-07-17T22:43:23Z</dc:date>
    </item>
    <item>
      <title>Re: Fixing corrupt VI</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Fixing-corrupt-VI/m-p/2091672#M682752</link>
      <description>&lt;P&gt;If you're using Dropbox you can go back to old editions of a file. See&amp;nbsp;&lt;A href="https://www.dropbox.com/help/11/en" target="_blank"&gt;https://www.dropbox.com/help/11/en&lt;/A&gt;. I don't know how this service is free &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jul 2012 22:48:04 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Fixing-corrupt-VI/m-p/2091672#M682752</guid>
      <dc:creator>Klox</dc:creator>
      <dc:date>2012-07-17T22:48:04Z</dc:date>
    </item>
    <item>
      <title>Re: Fixing corrupt VI</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Fixing-corrupt-VI/m-p/2091680#M682754</link>
      <description>&lt;P&gt;Source control, source control, source control.. Subversion is free and very easy to use.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jul 2012 22:54:32 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Fixing-corrupt-VI/m-p/2091680#M682754</guid>
      <dc:creator>SteveChandler</dc:creator>
      <dc:date>2012-07-17T22:54:32Z</dc:date>
    </item>
    <item>
      <title>Re: Fixing corrupt VI</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Fixing-corrupt-VI/m-p/2093122#M683063</link>
      <description>&lt;DIV&gt;
&lt;P&gt;Unfortunately, as this &lt;A href="http://digital.ni.com/public.nsf/allkb/A154F4BFC8FD9A07862572110073E0B2?OpenDocument" target="_blank"&gt;link &lt;/A&gt;shows, there is no official way to recover a corrupted VI. As other users have mentioned, we recommend backing up your VIs frequently so if a problem like this occurs you don’t lose all of your work. Sorry we can’t help you out.&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Wed, 18 Jul 2012 17:07:56 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Fixing-corrupt-VI/m-p/2093122#M683063</guid>
      <dc:creator>Dominik-E2</dc:creator>
      <dc:date>2012-07-18T17:07:56Z</dc:date>
    </item>
    <item>
      <title>Re: Fixing corrupt VI</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Fixing-corrupt-VI/m-p/2371898#M738136</link>
      <description>&lt;P&gt;Yeah, well it's pretty annoying.&amp;nbsp; I was working on a small utility, hadn't saved it since opening it today, and both the source file and the autosave is corrupt.&amp;nbsp; That may be unfortunate, but it is also &lt;STRONG&gt;UNRELIABLE.&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Apr 2013 22:31:05 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Fixing-corrupt-VI/m-p/2371898#M738136</guid>
      <dc:creator>Spaz</dc:creator>
      <dc:date>2013-04-01T22:31:05Z</dc:date>
    </item>
    <item>
      <title>Re: Fixing corrupt VI</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Fixing-corrupt-VI/m-p/2371912#M738139</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://ni.lithium.com/t5/user/viewprofilepage/user-id/3916"&gt;@Spaz&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;Yeah, well it's pretty annoying.&amp;nbsp; I was working on a small utility, hadn't saved it since opening it today, and both the source file and the autosave is corrupt.&amp;nbsp; That may be unfortunate, but it is also &lt;STRONG&gt;UNRELIABLE.&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;I've had it where autosave corrupted the VI and had to go back to the original file, erasing a few hours of work.&amp;nbsp; In that case, version control would not have helped because I am not in the habit of commiting my changes every few minutes.&amp;nbsp; (What i sweird is that I save often, and it made me go back to the original that was a few saves ago.)&lt;/P&gt;</description>
      <pubDate>Mon, 01 Apr 2013 22:47:45 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Fixing-corrupt-VI/m-p/2371912#M738139</guid>
      <dc:creator>billko</dc:creator>
      <dc:date>2013-04-01T22:47:45Z</dc:date>
    </item>
    <item>
      <title>Re: Fixing corrupt VI</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Fixing-corrupt-VI/m-p/2371926#M738144</link>
      <description>&lt;P&gt;Early Christmas present.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Edit:&amp;nbsp; Just saw that the commenter was not the OP.&amp;nbsp; Oh well, very late Christmas present.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Apr 2013 23:07:13 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Fixing-corrupt-VI/m-p/2371926#M738144</guid>
      <dc:creator>Darin.K</dc:creator>
      <dc:date>2013-04-01T23:07:13Z</dc:date>
    </item>
    <item>
      <title>Re: Fixing corrupt VI</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Fixing-corrupt-VI/m-p/2373240#M738377</link>
      <description>&lt;P&gt;The newest version&amp;nbsp;that I have is 2010.&amp;nbsp; I still use 7.1 the most. (RE: &lt;A href="https://ni.lithium.com/t5/LabVIEW/Why-I-prefer-using-LV-7-1-Sort-of-like-why-I-keep-using-XP/m-p/1112416" target="_blank"&gt;http://forums.ni.com/t5/LabVIEW/Why-I-prefer-using-LV-7-1-Sort-of-like-why-I-keep-using-XP/m-p/1112416&lt;/A&gt;)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Althiough I got around my problem,&amp;nbsp; I would be very interested in seeing any other approaches if that's the subject of your VI.&amp;nbsp; Seems small... a screen shot of the BD would suffice.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Apr 2013 18:44:14 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Fixing-corrupt-VI/m-p/2373240#M738377</guid>
      <dc:creator>Spaz</dc:creator>
      <dc:date>2013-04-02T18:44:14Z</dc:date>
    </item>
    <item>
      <title>Re: Fixing corrupt VI</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Fixing-corrupt-VI/m-p/2373252#M738380</link>
      <description>&lt;P&gt;I just posted a fixed version of the original VI, without checking the date of course.&amp;nbsp; I have a little utility which tries a few things to fix or otherwise retrieve data from corrupted VIs and LLBs and this one happened to have fixable damage.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Too bad I was asleep at the switch when the original post happened.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Edit:&amp;nbsp; Just got the solution and Kudos from the OP.&amp;nbsp; Excellent.&amp;nbsp; I like it when my spelunking into the depths of LV has beneficial side effects.&amp;nbsp; Better late than never it seems.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Apr 2013 18:54:33 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Fixing-corrupt-VI/m-p/2373252#M738380</guid>
      <dc:creator>Darin.K</dc:creator>
      <dc:date>2013-04-02T18:54:33Z</dc:date>
    </item>
    <item>
      <title>Re: Fixing corrupt VI</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Fixing-corrupt-VI/m-p/2373260#M738382</link>
      <description>&lt;P&gt;I was able to recover mine, so I thought I would share.&amp;nbsp;This will not work in all cases like the poster submitted in &lt;A href="https://ni.lithium.com/t5/LabVIEW/vi-corrupt/td-p/1256628" target="_blank"&gt;http://forums.ni.com/t5/LabVIEW/vi-corrupt/td-p/1256628&lt;/A&gt;&amp;nbsp;where there was a resultant 'Generic Error' dialog, but seems to work on the type where LV just goes 'poof' when you try to open the front panel of the corrupted VI.&amp;nbsp; Maybe like Mike Porter's commenting&amp;nbsp;about in LV2011 here: &lt;A href="https://ni.lithium.com/t5/LabVIEW/is-there-a-way-to-recover-a-damaged-VI/m-p/1863387" target="_blank"&gt;http://forums.ni.com/t5/LabVIEW/is-there-a-way-to-recover-a-damaged-VI/m-p/1863387&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I was working in the block diagram of a simple, single VI in LV2010, just cleaning up some wires, when LV went away w/o any dialog box or warning.&amp;nbsp; I found the autosaved copy and my original from the start of the day corrupted.&amp;nbsp; Any attempt at reopening either VI also resulted in LV disappearing without leave.&amp;nbsp; I also wasn't able to load it via the VIServer and then programatically pop up the BD...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This was my work around:&lt;/P&gt;
&lt;P&gt;I opened a new VI in LV.&amp;nbsp; On its blank BD, I selected to add the corrupted VI from the 'Select a VI...' entry at the bottom of the Functions palette.&amp;nbsp; To my surprise it let me add the VI.&amp;nbsp; Its icon was visible, but any attempt to access the front panel caused 2010 to puke.&amp;nbsp; I then decided to use the 'Find and Replace' search to look for a function ('Add') that I knew was in the corrupted VI's BD.&amp;nbsp; The BD of the corrupted VI popped up intact when I double clicked a result in the 'Find' dialog.&amp;nbsp; I was then able to cut and paste chunks of the BD to a new VI and save it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this comes in handy for someone.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Apr 2013 18:55:44 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Fixing-corrupt-VI/m-p/2373260#M738382</guid>
      <dc:creator>Spaz</dc:creator>
      <dc:date>2013-04-02T18:55:44Z</dc:date>
    </item>
    <item>
      <title>Re: Fixing corrupt VI</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Fixing-corrupt-VI/m-p/2373262#M738383</link>
      <description>&lt;P&gt;Very impressive, thanks! I already rebuilt this some months ago, but any chance of sharing your secret magic wand? &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Apr 2013 18:55:49 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Fixing-corrupt-VI/m-p/2373262#M738383</guid>
      <dc:creator>Klox</dc:creator>
      <dc:date>2013-04-02T18:55:49Z</dc:date>
    </item>
    <item>
      <title>Re: Fixing corrupt VI</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Fixing-corrupt-VI/m-p/2373286#M738390</link>
      <description>&lt;P&gt;The working technique in this case was to progressively replace bytes in the beginning of the file with corresponding bytes from a new blank VI. Looking at the results, it appears 16 bytes was the magic number in this case.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Apr 2013 19:06:09 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Fixing-corrupt-VI/m-p/2373286#M738390</guid>
      <dc:creator>Darin.K</dc:creator>
      <dc:date>2013-04-02T19:06:09Z</dc:date>
    </item>
    <item>
      <title>Re: Fixing corrupt VI</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Fixing-corrupt-VI/m-p/2373302#M738393</link>
      <description>&lt;P&gt;Thanks! I wish I could have marked this one as the solution now. I just did a manual adjustment with notepad++ and it worked for me too. I can't remember everything I tried, but I definitely tried doing some hex adjustments. I guess I didn't take it far enough.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;edit &lt;/EM&gt;It looks like I could change the solution &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Apr 2013 19:23:19 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Fixing-corrupt-VI/m-p/2373302#M738393</guid>
      <dc:creator>Klox</dc:creator>
      <dc:date>2013-04-02T19:23:19Z</dc:date>
    </item>
    <item>
      <title>Re: Fixing corrupt VI</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Fixing-corrupt-VI/m-p/4161943#M1201493</link>
      <description>&lt;P&gt;I had the same problem...&lt;/P&gt;
&lt;P&gt;I opened the files in Vim and noted that at the end, "a.vi" was missing when i compared it to a file saved with the same name...i added those and it, magically, came back to life!!&lt;/P&gt;
&lt;P&gt;from this...&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="T999_0-1625262316796.png" style="width: 400px;"&gt;&lt;img src="https://ip1.i.lithium.com/721a75ea161aa7119531ea4010ebd567e1f15631/68747470733a2f2f6e692e6c69746869756d2e636f6d2f74352f696d6167652f736572766572706167652f696d6167652d69642f32383834393369424233434142454445323246313435412f696d6167652d73697a652f6d656469756d3f763d76322670783d343030" role="button" title="T999_0-1625262316796.png" alt="T999_0-1625262316796.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;to this....&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="T999_1-1625262341300.png" style="width: 400px;"&gt;&lt;img src="https://ip1.i.lithium.com/ce79621a5c53a2581c1dcdacd97104f514abc47f/68747470733a2f2f6e692e6c69746869756d2e636f6d2f74352f696d6167652f736572766572706167652f696d6167652d69642f32383834393469363041364343344434324134393734452f696d6167652d73697a652f6d656469756d3f763d76322670783d343030" role="button" title="T999_1-1625262341300.png" alt="T999_1-1625262341300.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;literally, magic...?&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jul 2021 21:46:18 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Fixing-corrupt-VI/m-p/4161943#M1201493</guid>
      <dc:creator>T999</dc:creator>
      <dc:date>2021-07-02T21:46:18Z</dc:date>
    </item>
    <item>
      <title>Re: Fixing corrupt VI</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Fixing-corrupt-VI/m-p/4161972#M1201506</link>
      <description>&lt;P&gt;No.&amp;nbsp; Literally, "binary edit".&lt;/P&gt;</description>
      <pubDate>Sat, 03 Jul 2021 03:06:08 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Fixing-corrupt-VI/m-p/4161972#M1201506</guid>
      <dc:creator>billko</dc:creator>
      <dc:date>2021-07-03T03:06:08Z</dc:date>
    </item>
    <item>
      <title>Re: Fixing corrupt VI</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Fixing-corrupt-VI/m-p/4162583#M1201711</link>
      <description>&lt;P&gt;I was just pointing out my &lt;EM&gt;magical&lt;/EM&gt; luck &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;not knowing what got corrupted and editing those bits seemed a bit &lt;EM&gt;too easy to believe&lt;/EM&gt; &lt;span class="lia-unicode-emoji" title=":face_with_tongue:"&gt;😛&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;but I guess one could say, "literally, moving electrons around..."&lt;/P&gt;
&lt;P&gt;hmmm...does that make me an "electron whisperer?"&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jul 2021 18:19:06 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Fixing-corrupt-VI/m-p/4162583#M1201711</guid>
      <dc:creator>T999</dc:creator>
      <dc:date>2021-07-06T18:19:06Z</dc:date>
    </item>
  </channel>
</rss>

