06-14-2016 09:30 AM
Hello everybody, please help me, i built a EXE file from VI, but unfortunately i have deleted the VI file, is it possible obtain again the VI with the EXE
Solved! Go to Solution.
06-14-2016 09:45 AM
Would you expect to be able to get the C code from an executable? LabVIEW is not any different. Hopefully you used a Source Code Control or have a backup.
06-14-2016 10:15 AM
@Jorgais wrote:is it possible obtain again the VI with the EXE
No.
06-14-2016 12:07 PM
Try to stop messing around with the computer you stored the code in, run recovery software (ideally pull out the hard drive and use it as a slave on another machine) and pray for the best.
06-14-2016 12:52 PM
Is it in your recycle bin?
06-14-2016 01:18 PM
Another option for restoring - http://windows.microsoft.com/en-us/windows/previous-versions-files-faq#1TC=windows-7
Also, technically, the VI is definitely in the EXE, but it's almost certain it's with the things you will need to use it, like the block diagram, so there's no real point in trying to recover it. Like the others said, in the future, it's advised to use source code control.
06-14-2016 03:47 PM
It is possible to extract VIs from .exe files, but the result is usually worthless.
By default, block diagrams (and many front panels) are deleted during the app build.
If you changed your app build spec so as not to delete the block diagrams (and FPs) then it is possible to fully recover VIs from the .exe.
06-15-2016 12:57 PM
This is a history with very sad end, it is impossible extract a VI from the EXE file for security and to protect the intellectual authority. I had tried recover the file with a program called "restoration" and i found it but now is damaged, when i try to open it with labview appears me the next message "file is not a resource file" any suggestion to repair it? anyway i am working again in a new VI.
06-15-2016 01:48 PM
If you built a debuggable executable then you could try to run a LabVIEW debug session to look at the block diagram which is probably the best that you can hope for. I'm not sure how that restoration program works but I don't think anyone will be able to help you restore that VI that you have attached.
06-15-2016 05:07 PM - edited 06-15-2016 05:43 PM
@Jorgais wrote:I had tried recover the file with a program called "restoration" and i found it but now is damaged, when i try to open it with labview appears me the next message "file is not a resource file" any suggestion to repair it? anyway i am working again in a new VI.
Just looking at the contents of that file it has very little to do with a VI and contains all kinds of garbage instead.
Do you have a link to that "restoration" program? Are you sure it is legitimate and not some malware?