|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
Downloading code- DS says "No Code"
We successfully completed all the benchtop testing, updated the Driver's Station firmware, updated Labview with update 2.0, and reimaged the cRIO.
We are attempting to download just the basic code (no modifications), and are running into some issues. First, we downloaded the code, and we noticed that no "completed" or "deployed" message is shown, so we were unsure if it was finished. The VI's run button went from running (black arrow) to the deployed/run button after about 2 or 3 seconds. The DS displays "Battery: No Code," and the joysticks do nothing. There appears to be no problem with communicating with the cRIO, but nothing seems to happen. |
|
#2
|
||||
|
||||
|
Re: Downloading code- DS says "No Code"
when you click the run button can you move the robot with the joysticks?
|
|
#3
|
||||
|
||||
|
Re: Downloading code- DS says "No Code"
Nope, the joysticks do nothing, and I am assuming it is because the drivers station believes there is no code on the cRIO (whether its right or not is unknown, though I believe unlikely).
|
|
#4
|
||||
|
||||
|
Re: Downloading code- DS says "No Code"
well the ds will always say no code until you set the code as startup code. you do this by right clicking 'build specifications' in the project explorer window and selecting build. a progress bar should appear and once that is complete you right click 'build specifications' another time and select 'run at startup'. can you ping the ds and crio?
|
|
#5
|
||||
|
||||
|
Re: Downloading code- DS says "No Code"
Yes I can ping the DS and cRIO.
I totally forgot about the build specifications. Unfortunately, I am at home now, but I will try that tomorrow. That is probably our problem. Thanks! |
|
#6
|
||||
|
||||
|
Re: Downloading code- DS says "No Code"
Quote:
The DS will only show "No code." unless you have set the code to start on power. Otherwise, it will show the battery power after as you flash code (deploy for debugging) to the robot, if you don't download any temporary code and don't have a startup code - the DS will say "No code." -Tanner |
|
#7
|
||||
|
||||
|
Re: Downloading code- DS says "No Code"
yes thank you tanner for clarifying that
and if that battery volatage reads 00.00 volts you need to attach a jumper somewhere. (not very clear but its in the manual somewhere) |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| "Battery: No Code" after uploading .out file to cRIO | knine143 | FRC Control System | 1 | 20-12-2008 22:14 |
| Screenshot of "code not understood" or similar error needed! | Elgin Clock | Programming | 3 | 17-02-2006 22:06 |
| Modified default code gives "code violation" | scottmso | Programming | 8 | 10-02-2006 23:17 |
| Code Errors With "Bells and Whistles" | Ryan O | Programming | 2 | 31-01-2006 19:29 |
| Code error on RC after downloading "bells and whistles" version of Kevins camera code | DanDon | Programming | 6 | 10-01-2006 18:07 |