Go to Post There is no charge. We just want to help. We are family… - emnasson303 [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 27-01-2011, 12:34
dkula dkula is offline
Registered User
FRC #2437
 
Join Date: Jan 2011
Location: Hawaii
Posts: 2
dkula is an unknown quantity at this point
LabVIEW saveas problem

We have a "save as" problem with 2011 competition project in LabVIEW. We are selecting "Duplicate .lvproj and file contents" and we have checked the "include all dependencies" box. The save appears to run - but when we look in the new folder, nothing is there.

We are hoping we will not have to re-code everything from scratch each time we begin a new version of a project as we refine our code. We would prefer to keep a working version in tact, then do a save as with the next iteration of "try this" code.

And the issue only appears to be with the new competition template. We are still able to open and successfully "save as" our 2010 competition code.

We are able to deploy code to the cRIO. Our old competition code works fine. The new does not - even without any code changes, our driver station does not respond to the new code.

Any suggestions will be appreciated.
Reply With Quote
  #2   Spotlight this post!  
Unread 27-01-2011, 13:19
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,833
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: LabVIEW saveas problem

I find the simplest way to backup a LabVIEW project is to just make a standard Windows copy of the whole project directory, as long as you keep your projects well contained and don't reference vi's from different projects.
It's under My Documents->LabVIEW Data
Just right-click copy, then paste, then rename it with some convention.

But it sounds like you may have a problem with the default robot template itself.
Does all the code show up in the proper project directory under My Documents->LabVIEW Data ?

When you "Run as Startup", what are the new code status lights on the Driver Station showing?
Any Diagnostic tab messages?
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 27-01-2011 at 13:24.
Reply With Quote
  #3   Spotlight this post!  
Unread 27-01-2011, 13:33
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,100
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: LabVIEW saveas problem

Quote:
Originally Posted by Mark McLeod View Post
don't reference vi's from different projects
How does one avoid doing this? Are there any pitfalls to watch out for? Is there a simple way to quickly "audit" a project to make sure this hasn't been done?

Thanks.


Reply With Quote
  #4   Spotlight this post!  
Unread 27-01-2011, 13:42
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,833
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: LabVIEW saveas problem

Quote:
Originally Posted by Ether View Post
How does one avoid doing this? Are there any pitfalls to watch out for? Is there a simple way to quickly "audit" a project to make sure this hasn't been done?
If you have vi's that you like to reuse in different projects, that aren't maintained in a common library, just be sure to copy the file into your project folder and only add new vi's to your project from that project folder, e.g., don't drag a vi into the Project Explorer window from a different project folder.

It's easy to check.
In the Project Explorer switch to the Files tab and you'll see the entire project hierarchy. If you see another project folder included, then you should fix that.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #5   Spotlight this post!  
Unread 27-01-2011, 15:46
dkula dkula is offline
Registered User
FRC #2437
 
Join Date: Jan 2011
Location: Hawaii
Posts: 2
dkula is an unknown quantity at this point
Re: LabVIEW saveas problem

Thanks, Mark. From the LabVIEW documentation, we have been so concerned with the dependencies, we did not think the windows copy would work.

We'll give it a try this afternoon.
Reply With Quote
  #6   Spotlight this post!  
Unread 28-01-2011, 09:29
Doug Norman's Avatar
Doug Norman Doug Norman is offline
Registered User
no team (National Instruments)
Team Role: Engineer
 
Join Date: Jan 2010
Rookie Year: 2009
Location: Austin, TX
Posts: 137
Doug Norman will become famous soon enoughDoug Norman will become famous soon enough
Re: LabVIEW saveas problem

Quote:
Originally Posted by dkula View Post
We have a "save as" problem with 2011 competition project in LabVIEW. We are selecting "Duplicate .lvproj and file contents" and we have checked the "include all dependencies" box. The save appears to run - but when we look in the new folder, nothing is there.
This is a known bug in LabVIEW 8.6.1 using FPGA typedefs (at the heart of many FRC palette VIs). "Save As" doesn't work. We have the same problem, and had to jump through a few hoops to make the template wizards work. The standard Windows copy explained by Mark McLeod is the best way to go. Sorry about the inconvenience.
__________________
Doug Norman
National Instruments
Reply With Quote
Reply


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 21:13.

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