Go to Post This is a game of the mind. Size does not matter. - JohnBoucher [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 15-03-2009, 17:20
Lucario231's Avatar
Lucario231 Lucario231 is offline
Registered User
FRC #0033 (Killer Bees)
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2007
Location: United States
Posts: 29
Lucario231 is an unknown quantity at this point
Re: compiling speed-a few ?

I see where you are going with this "shadow" VI.
My question is when the Robot Main is edited the shadow is not edited so that it
is a older code. Does this matter at all if the shadow is older code?

I have the basic style of code right now. Will this still work in this style? Because, if the main is built first, then if it changes, all of the other VIs need to be recompiled will have to move and thus recompiled too.

thanks for the advice.
Reply With Quote
  #2   Spotlight this post!  
Unread 15-03-2009, 18:48
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,752
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: compiling speed-a few ?

This shouldn't do any harm. The shadow will be in memory on the cRIO, and your Main VI too. The big benefit is that if you Main VI is removed from memory, the 500 or so other VIs that it references won't need to be redownloaded because the shadow will keep them there. I have never seen an issue with using this trick. If you think you see something funny, just close the shadow occasionally.

Greg McKaksle
Reply With Quote
  #3   Spotlight this post!  
Unread 15-03-2009, 22:12
Chaos in a Can Chaos in a Can is offline
Joel Spadin
FRC #1736 (Robot Casserole)
Team Role: Programmer
 
Join Date: Mar 2007
Rookie Year: 2007
Location: Peoria, IL
Posts: 58
Chaos in a Can is an unknown quantity at this point
Send a message via MSN to Chaos in a Can
Re: compiling speed-a few ?

You should be able to use the calibration file idea without running into the aforementioned problem.
You could load your main project that uses the calibration file as the startup application, then use a button on the front panel of a vi to save the current settings to the calibration file. Running the debug version should allow you to change the calibration file without rebuilding the startup application.
__________________
2006 Xerox Creativity Award
2007 General Motors Industrial Design Award
2008 Judges' Award
2009 Chrysler Team Spirit Award

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Compiling Files Gherkinman Inventor 4 19-02-2008 21:55
Compiling error AdamHeard Programming 2 30-01-2008 09:57
Drive Control, Wheel Speed Calibration, and Rapid Speed Changes 7-11number1 Programming 3 23-01-2008 20:36
Compiling Error DustinB_3 Programming 1 12-02-2007 18:06
Compiling problem Anime-niac_2.9 VEX 4 19-10-2006 16:13


All times are GMT -5. The time now is 21:34.

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