02-12-2016 08:55 PM
It is very strange.
I have not had it happen. I have not heard of it happening like you describe.
02-13-2016 12:02 AM
Just a wild guess: Maybe it ended up being quarantined by your AV?
02-13-2016 05:24 AM
02-13-2016 09:50 PM
Windows 7 should have automatic backup of files. I'm not sure what the rules for it are, but you can check by right clicking the folder in Explorer and selecting the Restore previous versions option.
And get some kind of SCC system, even a local SVN server (although to be safe you should have it on a separate machine with an off-site backup).
02-15-2016 07:23 AM
@tst wrote:Windows 7 should have automatic backup of files. I'm not sure what the rules for it are, but you can check by right clicking the folder in Explorer and selecting the Restore previous versions option.
On every occasion that I have right clicked a file in Windows 7 and said Restore Previous Version, the dialog has always told me there aren't any previous files to restore. I have no idea how this feature is supposed to work but it never has for me.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
02-15-2016 07:55 AM
@Hooovahh wrote:
@tst wrote:Windows 7 should have automatic backup of files. I'm not sure what the rules for it are, but you can check by right clicking the folder in Explorer and selecting the Restore previous versions option.
On every occasion that I have right clicked a file in Windows 7 and said Restore Previous Version, the dialog has always told me there aren't any previous files to restore. I have no idea how this feature is supposed to work but it never has for me.
A quick search indicates this is tied to the system restore feature - http://windows.microsoft.com/en-us/windows/previous-versions-files-faq#1TC=windows-7
That page says that this is automatically enabled for the system drive, and I'm guessing your files aren't on the system drive and there it's probably not enabled by default.
02-15-2016 08:30 AM
While I can not help recover the lost data, I can share a couple of incidents that help put it in perspective and hopefully let you smile as you re-write the code.
years ago in the early days of computers, disk drive crashes were a regualr event. So much so that I specialized in disk drives and keeping data intact. I have seen months of key-punch data go away and on onother occation 3 months of 30 developers lost due to lack of a backup. In this last case the pre-amp for R/W write heads had chunks of shrapnel inbededd the PCB. I worked with anothe fellow for days to try and recover the data with nothing to show except a pile of bad disk and heads.
One day as I arrived at work the 3rd shift engineer updated me on the event that happened over night.
These stories always start with;
A hard drive crashed...
My co-worker worked to rebuild the drive and ran diagnostics just fine.
They put the backup pack )many hard drives had interchangable packs ) in the newly repaided drive and where in the process of restoring the data when as they stood behind the disk drive cabinet the noticed a brown dust blowing out of the back of the drive.
Customer : What is THAT?
Co-worker : Data
Reflecting on the topic as a whole.
1) There are only two types of disk drives, those that are bad and those that are not bad yet.
2) Backup often.
3) Storage devices can be rated from short term storage to long term. Working from short term storage to long we find;
A) CPU register
B) Cache
C) Memory
D) Disk drive
E) Tape storage
F) Paper
G) Papyrus
H) Stone
Only F-H are long term storage.
Ctrl-S is your friend, Source code control is your saviour.
Final thought:
Every time I have had to rewrite a VI, I did it better and faster than the first time.
Sorry about reading about your loss!
Ben
02-16-2016 09:29 AM
@Hooovahh wrote:
@tst wrote:Windows 7 should have automatic backup of files. I'm not sure what the rules for it are, but you can check by right clicking the folder in Explorer and selecting the Restore previous versions option.
On every occasion that I have right clicked a file in Windows 7 and said Restore Previous Version, the dialog has always told me there aren't any previous files to restore. I have no idea how this feature is supposed to work but it never has for me.
Thank you both Hooovahh and tst. Windows 7 did have a backup of the file! I was able to restore it by the method mentioned above.
I appriciate everyone's help!
TortoiseSVN is gonna be the solution going forward! 🙂
02-16-2016 09:31 AM
Thanks for the great pointers Ben!
Windows backup and restore saved me for now...
Source Code Control is gonna be my new best friend! 🙂