Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Robot Code will not stay... (http://www.chiefdelphi.com/forums/showthread.php?t=92091)

C_Tenranma 17-02-2011 14:29

Robot Code will not stay...
 
We have just about everything running for our robot. However, the robot code from labview will not stay (cannot properly explain it)...

Everytime we discconect/turn off the robot, we have to re-run the robot code as compared to last year's robot, we just had to turn on the robot and the code would start up automatically...

So, any suggestions? Any help would be much appreciated...
:confused:

Zuelu562 17-02-2011 14:31

Re: Robot Code will not stay...
 
If I remember correctly, there is a setting (checkbox that says "Run Deployed Code at startup") when you image your cRIO for LV that checks to keep it, not just run it while the robot is on.

eedoga 17-02-2011 14:35

Re: Robot Code will not stay...
 
You have to tell the robot to run the code as startup.

When you first open your project folders.

Expand the build specifications box down at the bottom of the list. Right click on FRC robot bootup deployment and select build.

Once that is done right click again and select run as startup.

That way the code should run when you first turn on your cRio.

Hope this helps.

Edoga

Alan Anderson 17-02-2011 15:23

Re: Robot Code will not stay...
 
Make sure the "NO APP" switch on the cRIO is turned off.


All times are GMT -5. The time now is 03:45.

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