![]() |
changing code after it's set to run at startup
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' ? |
Re: changing code after it's set to run at startup
Quote:
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 |
Re: changing code after it's set to run at startup
So, as I understand it, if we re-deploy updated code, it will automatically replace the current executable that's residing witin the cRIO? As long as it's set to Run At Startup?
BTW: We did watch all the LVMastery videos, 5-12 (I believe Mr. Zimmer is on 12 now anyways...). We got so much out of them, and thought they were so good, that we sent the hyperlink to our Regional Director here in Pittsburgh, which she then sent to the other Pittsburgh-based teams. |
Re: changing code after it's set to run at startup
That is my understanding as well. You have to deploy as Run at Startup. If you just Run, it will not be permanent.
BTW, Mr. Zimmer is up to #16... Good stuff! Best of luck, Mike |
Re: changing code after it's set to run at startup
All you have to do is re-build the code to do the changes. It's not worth building the code if you make changes every 20 mins.
|
| All times are GMT -5. The time now is 10:40. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi