PDA

View Full Version : Download code, restart robot, no work


program1
01-20-2009, 08:29 PM
we've managed to download the code and now it runs. but when we turn off the robot and turn it back on, it doesn't work. we keep having to repeatly download the code each time. we have heard about something called dependencies, could someone please elaborate more on this?

nathanww
01-20-2009, 08:57 PM
You're downloading the program to RAM, but you need to download it to flash to get it so survive between reboots. This can be done using the "deploy" option in FIRST downloader

program1
01-20-2009, 09:21 PM
where is the deploy option? :o

nathanww
01-20-2009, 09:28 PM
If you're using windriver, it's under FIRST and then "deploy"

program1
01-20-2009, 09:39 PM
unfortunately, we are actually using LABView, would you happen to know where it is?

BLAQmx
01-20-2009, 10:29 PM
Explained here.

Making your LabVIEW application start when the cRIO boots (http://decibel.ni.com/content/docs/DOC-3076)

gvarndell
01-21-2009, 05:44 AM
This question should be a FAQ.
Is there a FAQ?

guakam0li1089
01-21-2009, 12:14 PM
after your done fixing any problems or such, go to robotmain.vi (in project explorer) right click and click build

BLAQmx
01-21-2009, 01:12 PM
FIRST Community FAQs (http://decibel.ni.com/content/docs/DOC-3015)

program1
01-21-2009, 07:34 PM
can someone explain where the robotmain.vi is, because in our project explorer, there isn't a "robotmain.vi" there is a "basic robot main.vi" but when i right click it, there is no option for build :confused:

Daniel_H
01-23-2009, 09:08 AM
what can cause a failure to deploy?

I build it, and when I click on set as startup, it fails at "Deploying FRC Basic Robot Deployment"

Alan Anderson
01-23-2009, 12:08 PM
can someone explain where the robotmain.vi is, because in our project explorer, there isn't a "robotmain.vi" there is a "basic robot main.vi" but when i right click it, there is no option for build :confused:

Don't right click the VI. Right click the thing at the bottom of the project explorer tree. (Without access to LabVIEW at the moment, I cannot remember the proper name for this thing.)