Go to Post What can you do? The more time you waste here speculating the less time you have to work on the robot. Go! Build Robots! Now! - Jessica Boucher [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 17-02-2011, 14:29
C_Tenranma's Avatar
C_Tenranma C_Tenranma is offline
Programmer
AKA: Chelsea
FRC #1865 (RoboBuffs)
Team Role: Programmer
 
Join Date: Nov 2010
Rookie Year: 2010
Location: Missouri City, TX
Posts: 17
C_Tenranma is an unknown quantity at this point
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...
__________________
  #2   Spotlight this post!  
Unread 17-02-2011, 14:31
Zuelu562's Avatar
Zuelu562 Zuelu562 is offline
Ready for WPI District!
AKA: Jake Janssens
FRC #3623 (Terror Bots)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Massachusetts
Posts: 340
Zuelu562 is a splendid one to beholdZuelu562 is a splendid one to beholdZuelu562 is a splendid one to beholdZuelu562 is a splendid one to beholdZuelu562 is a splendid one to beholdZuelu562 is a splendid one to beholdZuelu562 is a splendid one to beholdZuelu562 is a splendid one to behold
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.
__________________
Team Resume
562 "S.P.A.R.K." - Student Programmer 2008-2011, Field Coach 2011
3623 "Terror Bots" - Technical Mentor, Field Coach 2012 - Present

Volunteer Resume:
BattleCry@WPI 12, 13, 15, 16 - Queuing
BattleCry@WPI 14 - Field Reset
Granite State District Event 2014 - Team Queueing
NEFIRST District Championships '14,'15,'16 - Team Queuing

Last edited by Zuelu562 : 17-02-2011 at 15:12.
  #3   Spotlight this post!  
Unread 17-02-2011, 14:35
eedoga's Avatar
eedoga eedoga is offline
Registered User
FRC #2980
 
Join Date: Jan 2011
Location: Oak Harbot
Posts: 225
eedoga has much to be proud ofeedoga has much to be proud ofeedoga has much to be proud ofeedoga has much to be proud ofeedoga has much to be proud ofeedoga has much to be proud ofeedoga has much to be proud ofeedoga has much to be proud of
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
  #4   Spotlight this post!  
Unread 17-02-2011, 15:23
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Robot Code will not stay...

Make sure the "NO APP" switch on the cRIO is turned off.
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 23:35.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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