View Single Post
  #6   Spotlight this post!  
Unread 04-01-2009, 10:04
TimeOut's Avatar
TimeOut TimeOut is offline
Registered User
AKA: Sean Kelly
FRC #0499 (The Toltechs)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2004
Location: San Antonio, TX
Posts: 50
TimeOut is on a distinguished road
Re: how to transfer the program to the crio?

Important note about the Debugging task is to ensure that you Undeploy your Downloaded code prior to attempting to 'Run Kernel Task'.

The reason is that the Download option copies a file to the file system on the cRIO, then that file executes when you restart the robot. The 'Run Kernel Task' option copies EVERYTHING over to the robot, but in a different place and starts running it. So, if you've got downloaded code running and you try to debug you will get, at best, inconsistent results.

So, prior to the 'Run Kernel Task...' make sure you goto the FIRST menu and select Undeploy.

D. Sean Kelly
Team #499