Go to Post Innovating for the sake of innovating, reinventing the wheel is probably the second biggest pitfall you can fall into when designing an FRC robot, if the wheel is already a very optimized, good solution. - Chris is me [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-09-2012, 18:44
John's Avatar
John John is offline
Registered User
AKA: John Gillespie
FRC #1153 (Roborebels)
Team Role: Mechanical
 
Join Date: Sep 2011
Rookie Year: 2009
Location: Walpole MA
Posts: 71
John is just really niceJohn is just really niceJohn is just really niceJohn is just really niceJohn is just really nice
Mass Compile?

Will this allow code to compile or download faster?

Is there anything specifically related to FRC that I should know before trying to use it?

Thanks
Reply With Quote
  #2   Spotlight this post!  
Unread 27-09-2012, 21:49
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,748
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: Mass Compile?

Mass compile is typically used with upgrades or when someone sends you a large collection of libraries from a different version of LV that needs to be upgraded or moved to your platform.

It shouldn't hurt anything in your FRC build, but shouldn't make much difference either. The RT target is PPC and your laptop is Intel, so to download to the cRIO is actually a cross-compile. The first time it compiles for PPC, the object code is stored in a database cache file to be reused in future builds.

Other things that will speed development in LV are to make good use of the interactive run. You do not need to build and deploy in order to do most development, and the LV environment will incrementally patch in just the VIs that changed and will lead to a very fast develop cycle. Additionally, if you aren't sure of the value of a constant, it is good to make it a control instead of a constant holding a guess at the value. This often allows you to leave the code running and adjust it from the panel as needed. Once the value is known, you can popup and change to a constant or make the current value default. Also be sure to try using probes to debug rather than printf-style of modifying code as you need to see intermediate values.

I hope these suggestions help. Please ask if you have more detailed questions about any of them.

Greg McKaskle
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 04: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