Go to Post This place is much brighter than most institutions I have seen. It also seems to be lacking straight jackets which I think is a mistake for many of us. - Andrew Schreiber [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 17-02-2014, 18:47
Tinkerpot's Avatar
Tinkerpot Tinkerpot is offline
Chief Information Officer
FRC #0144 (The R.O.C.K.)
Team Role: Programmer
 
Join Date: Jan 2014
Rookie Year: 2013
Location: Cincinnati
Posts: 6
Tinkerpot is an unknown quantity at this point
Automatic Deletion of LabView

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.
  #2   Spotlight this post!  
Unread 17-02-2014, 21:17
bvisness's Avatar
bvisness bvisness is offline
Programming Mentor, Former Driver
FRC #2175 (The Fighting Calculators)
Team Role: Mentor
 
Join Date: Feb 2011
Rookie Year: 2010
Location: Woodbury, MN
Posts: 181
bvisness is a glorious beacon of lightbvisness is a glorious beacon of lightbvisness is a glorious beacon of lightbvisness is a glorious beacon of lightbvisness is a glorious beacon of lightbvisness is a glorious beacon of light
Re: Automatic Deletion of LabView

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.
  #3   Spotlight this post!  
Unread 17-02-2014, 21:22
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,751
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Automatic Deletion of LabView

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
  #4   Spotlight this post!  
Unread 18-02-2014, 13:06
Tinkerpot's Avatar
Tinkerpot Tinkerpot is offline
Chief Information Officer
FRC #0144 (The R.O.C.K.)
Team Role: Programmer
 
Join Date: Jan 2014
Rookie Year: 2013
Location: Cincinnati
Posts: 6
Tinkerpot is an unknown quantity at this point
Re: Automatic Deletion of LabView

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?
  #5   Spotlight this post!  
Unread 18-02-2014, 13:35
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Automatic Deletion of LabView

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 document properly.
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 02:36.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi