LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Obtain vi from exe

Solved!
Go to solution

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

0 Kudos
Message 1 of 13
(9,144 Views)

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.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 2 of 13
(9,135 Views)
Solution
Accepted by topic author Jorgais

@Jorgais wrote:

 is it possible obtain again the VI with the EXE


No.

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 3 of 13
(9,111 Views)

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. 

0 Kudos
Message 4 of 13
(9,093 Views)

Is it in your recycle bin?

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 5 of 13
(9,078 Views)

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.


___________________
Try to take over the world!
0 Kudos
Message 6 of 13
(9,063 Views)

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.

"If you weren't supposed to push it, it wouldn't be a button."
0 Kudos
Message 7 of 13
(9,039 Views)

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. 

 

0 Kudos
Message 8 of 13
(8,997 Views)

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.

Matt J | National Instruments | CLA
0 Kudos
Message 9 of 13
(8,978 Views)

@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?

 

 

0 Kudos
Message 10 of 13
(8,945 Views)