02-04-2026 01:11 PM
Hi,
I am working on a project to upgrade a very old LabVIEW VI. When attempting to open the source code using LabVIEW 2024, 2016, or 2014, all three versions fail to load the VI and report the following error:
“LabVIEW: Memory or data structure corrupt. An error occurred loading VI ‘xxx.vi’. LabVIEW load error code 6: Could not load block diagram.”
The last executable for this application was built using LabVIEW 2010. However, the executable now crashes when running on our new hardware.
Unfortunately, I do not have a backup of the original source files. Could you please advise on whether there is any way to recover or open the source code so that I can debug the issue?
Thank you very much for your help.
Best regards,
Town
02-04-2026 01:37 PM
If it cannot lad the block diagram, it is possible that it has been removed (but I would not call it a corruption, so maybe your problem is different).
Is this just one big monolithic VI or is there just one of the subVIs that fails? Do you have backups?
What errors/symptoms do you get when trying to run the exe? (crash to desktop? crash the computer?). What is the current OS? Did you try to change the compatibility settings?
02-04-2026 01:39 PM
Could you make a copy of your project, delete the offending VI that shows up in your error message, and then try to load the project. You may only get a VI missing error instead of a complete error. If that works, you may have to recreate the missing VI functionality.
02-04-2026 01:48 PM
I don't have backups.
While running the exe, the computer powered off. I suspect the watchdog shut the power off because the hardware was changed, so I need to open source code to remove watchdog.
The current OS is Windows 10 (1809).
02-04-2026 01:51 PM
The VI is main VI.
I couldn't find a copy. It's a very old project developed before I joined the company.
02-04-2026 02:34 PM
@TownL230 wrote:While running the exe, the computer powered off. I suspect the watchdog shut the power off because the hardware was changed, so I need to open source code to remove watchdog.
The current OS is Windows 10 (1809).
That's very different than a "crash". 😄
So you are saying that the program runs initially, but then decides that there is an external hardware issue and shuts whatever is connected to the power? Does it kill the power to the PC or something else?
So there is no setting or ini file that allows reconfiguration?
02-04-2026 04:01 PM
The orginal exe file was built by LV 2010 before I joined the comany, and the external hardware was changed now, so I suspect the original exe kill the power to the PC by design. I need to open source code to debug it.
Unfortunately, I got the error "LabVIEW: Memory or data structure corrupt" while opening its source code.
02-04-2026 10:58 PM
Your options seem to be narrowing down to build a new (& better) one from scratch since the software is anyway 16 years old and hardware has changed, time to build something that will work for a few decades.
02-07-2026 12:51 PM
Do you have a "working" PC that has the original version of Windows from 2010 and LabVIEW 2010 installed, as well as the 2010 version of the Project that you are trying to recover? If so, I recommend that you post the details of the Windows version and the folder (or folders) that contain the Project file and VIs belonging to the Project? It is difficult to diagnose (and possibly "fix") 15-year-old User code when we can't "see the code" and can't try loading individual "pieces" to see what works and what doesn't.
Posting it here on the Forum means that various "experts" can poke around at it and possibly suggest a fix. Otherwise, there is a sub-Forum for "hiring an Expert" who might be able to shed some light (but will also need access to the code).
Bob Schor