View Single Post
  #2   Spotlight this post!  
Unread 11-02-2009, 10:30
Unsung FIRST Hero
Mike Betts Mike Betts is offline
Electrical Engineer
no team
Team Role: Engineer
 
Join Date: Dec 2001
Rookie Year: 1995
Location: Homosassa, FL
Posts: 1,442
Mike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond repute
Re: changing code after it's set to run at startup

Quote:
Originally Posted by smcmahon View Post
So, assuming we built and deployed code to the cRIO, and it's set to run at startup...

How can we edit it? Or remove it so we can upload something else? I'm a little hazy on how permanent a "run at startup deployment" actually is. Would we be able to simply designate new code, after it's built, to run at startup? And then that would just over write whatever is already there and 'running' ?
The code that you see in labview is called "source code" and exists on your PC in a directory usually named after the project that you have open.

What runs on the robot is an executable form of your project. When you deploy as Run At Startup, it executable is replaced with the new executable based on your source code.

When you edit, you are editing the source code on your PC.

I very, very strongly suggest that your students stop and watch the Tip Jar Video Tutorials #5 through #8 (inclusive) before proceeding any further. This will give your students a good minimum understanding of the basics.

Regards,

Mike
__________________
Mike Betts

Alumnus, Team 3518, Panthrobots, 2011
Alumnus, Team 177, Bobcat Robotics, 1995 - 2010
LRI, Connecticut Regional, 2007-2010
LRI, WPI Regional, 2009 - 2010
RI, South Florida Regional, 2012 - 2013

As easy as 355/113...
Reply With Quote