Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   NI LabVIEW (http://www.chiefdelphi.com/forums/forumdisplay.php?f=182)
-   -   cRIO retaining code (http://www.chiefdelphi.com/forums/showthread.php?t=101426)

DominickC 28-01-2012 20:32

cRIO retaining code
 
Hello -

Just a quick question regarding the cRIO and code retention. We have to deploy code to our cRIO wirelessly every time the cRIO is restarted. This is due to the fact that the cRIO is retaining some very old code from three to four weeks ago. Is there a way to deploy code in a manner in which it sticks?

Thanks.

plnyyanks 28-01-2012 20:45

Re: cRIO retaining code
 
Yes there is. It sounds like you've been running your code "through your computer" by pressing the Run arrow to the top of Robot Main.vi (I think the actual term is Deploy). Doing this will only keep the code running until the next restart.

Instead, you'll have to expand the Build Specification section in your project explorer. Then, right click on "FRC Bootup Deployment" and then select "Build". Wait for your code to build, and after that, go to the same menu and click "Run as Startup". This will cause the code to "stick" on your cRIO.

DominickC 28-01-2012 20:56

Re: cRIO retaining code
 
Ah, great! Thanks for the help!


All times are GMT -5. The time now is 11:36.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi