Go to Post Data is never ugly. It is only how you use it that can be. - Ed Law [more]
Home
Go Back   Chief Delphi > Technical > Control System > FRC Control System
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 20-02-2012, 09:20
fovea1959's Avatar
fovea1959 fovea1959 is offline
Herder of programmers
AKA: Doug Wegscheid
FRC #3620 (The Average Joes)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2011
Location: St Joseph
Posts: 325
fovea1959 will become famous soon enough
Running deployed code at startup

Our programmers have been doing a great job of climbing the learning curve, but still haven't had time to discover how to make deployed code "stick" in the cRIO (survive a power down).

Do we just need to reimage the cRIO with "”Always run deployed code at startup” option selected, or is there something else we can/should do?
Reply With Quote
  #2   Spotlight this post!  
Unread 20-02-2012, 09:45
SuperBK's Avatar
SuperBK SuperBK is offline
Registered User
AKA: BrianK
FRC #1225 (Amperage Robotics)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Henersonville, NC
Posts: 357
SuperBK is just really niceSuperBK is just really niceSuperBK is just really niceSuperBK is just really nice
Re: Running deployed code at startup

Are you using Labview, WindRiver, or Java?
__________________
Brian K
Team 1225 Robotics Mentor
Reply With Quote
  #3   Spotlight this post!  
Unread 20-02-2012, 11:20
fovea1959's Avatar
fovea1959 fovea1959 is offline
Herder of programmers
AKA: Doug Wegscheid
FRC #3620 (The Average Joes)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2011
Location: St Joseph
Posts: 325
fovea1959 will become famous soon enough
Re: Running deployed code at startup

oops, need to provide enough info!

it's Labview...
Reply With Quote
  #4   Spotlight this post!  
Unread 20-02-2012, 12:16
mswalker mswalker is offline
Mentor
FRC #2583 (Westwood Robotics)
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 26
mswalker is on a distinguished road
Re: Running deployed code at startup

I was going to refer you to a tutorial or discussion that could explain this better but most didn't seem to talk about deploying code for startup.

Checking the "Always Run deployed code at startup" is a first step.

To actually deploy the code, go to the "Project Explorer" window for your LabVIEW project. The expand the last entry "Build Specifications" so you see the "FRC Robot Boot-up Deployment". Right click that line and select "Build." After the code successfully builds, right click the Deployment line and select "Run as Startup" this will deploy the code into the cRio to run when the cRio is powered on.
__________________
http://team2583.org
Reply With Quote
Reply


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 19:14.

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