View Full Version : Automatic Deletion of LabView
Tinkerpot
17-02-2014, 18:47
My code monkey has made our code 7 times and 5 times the code deleted itself when saved. 1 time we lost a driver for an accelerometer and had to start over again. It is the day before bag and tag day and our code is messing up. This last time, when we tried to open periodic tasks.vi from Robot Main.vi no front panel popped-up. I tried to open it from the project explorer and it said "Unable to display the front panel of the VI. The VI's front panel may have been removed." Is there any reason LabView would delete any code or anything we are doing wrong that can help us solve this problem? WE ARE SO DESPERATE! We are stressed beyond our yield strength and getting close to passing the force necessary for to go beyond our ultimate strength.
bvisness
17-02-2014, 21:17
LabVIEW certainly wouldn't be randomly deleting files on its own. Do you have Dropbox running or something? You could always try coding on a different computer.
Greg McKaskle
17-02-2014, 21:22
I don't understand the first sentence. The code was written 7 times, but five saves failed. What error message was given? Was it saved to a directory you don't have write permission to? Are you saving to a network, to a memory stick, or to a hard drive?
If you make your own build script, you can build one that will save VIs without panels. This is not the default, and would take some work to build. And you'd need to make your destination be the source directory, also not the default.
I'm not sure what is going on. If you can give more error info, I may be able to help a bit more.
Greg McKaskle
Tinkerpot
18-02-2014, 13:06
There were no error messages. The code wasn't in the folders we saved it in. We even searched for it in all of our computer in the search programs and files search bar in the start menu. There were no results for our code's name in our c: drive or anywhere when we searched our admin user profile, which is the user we operate on for programming. I think it has to do with how we saved them. Would it have to do with either the copy save, copy and replace save, or the duplicate save?
Alan Anderson
18-02-2014, 13:35
There is an issue where creating a new project can erase an existing project of the same name, but you should only have created your robot project once when you started programming.
In my experience, the copy/replace/duplicate question should only appear when you're doing a "save as" of a single vi. I suspect you might not be following the Getting Started with LabVIEW (http://wpilib.screenstepslive.com/s/3120/m/11825) document properly.
vBulletin® v3.6.4, Copyright ©2000-2017, Jelsoft Enterprises Ltd.