View Single Post
  #1   Spotlight this post!  
Unread 26-03-2013, 08:30
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: Deploying code in debug vs run as startup

Quote:
Originally Posted by MaxMax161 View Post
For instance whenever we build the project and run as startup it takes only a few seconds to deploy but loading debug code to the robot takes roughly ten minutes (when running robot main). Why is there such a difference between these two methods of deploying the same code? Is there anyway to make deploying faster?
The reason there is such a difference is actually a bug in LabVIEW RT. Here is a work around. When your robot is in "Run as startup" mode (like right after a match) try this:
1. Close Robot Main.vi (but not the project).
2. In the project, right-click on RT CompactRIO Target and choose Connect.
3. Click OK at the Conflict Resolution dialog.
4. Once connected, reopen and run Robot Main.vi.
__________________
Doug Norman
National Instruments
Reply With Quote