Go to Post Dave Lavery says it's pimp? I don't care if the Pope says it's pimp, it still doesn't pass inspection! - MissInformation [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 05-01-2009, 18:12
Bryan Herbst's Avatar
Bryan Herbst Bryan Herbst is offline
Registered User
AKA: Bryan
FRC #2052 (KnightKrawler)
Team Role: Mentor
 
Join Date: Sep 2007
Rookie Year: 2007
Location: Minneapolis, Minnesota
Posts: 545
Bryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond repute
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.
__________________
Team 2052- KnightKrawler
Mentor and volunteer
  #2   Spotlight this post!  
Unread 05-01-2009, 18:52
brianc217's Avatar
brianc217 brianc217 is offline
Registered User
None #1153
 
Join Date: Feb 2008
Location: Walpole, MA
Posts: 36
brianc217 is an unknown quantity at this point
Re: Downloading code- DS says "No Code"

when you click the run button can you move the robot with the joysticks?
  #3   Spotlight this post!  
Unread 05-01-2009, 18:54
Bryan Herbst's Avatar
Bryan Herbst Bryan Herbst is offline
Registered User
AKA: Bryan
FRC #2052 (KnightKrawler)
Team Role: Mentor
 
Join Date: Sep 2007
Rookie Year: 2007
Location: Minneapolis, Minnesota
Posts: 545
Bryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond repute
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).
__________________
Team 2052- KnightKrawler
Mentor and volunteer
  #4   Spotlight this post!  
Unread 05-01-2009, 19:04
brianc217's Avatar
brianc217 brianc217 is offline
Registered User
None #1153
 
Join Date: Feb 2008
Location: Walpole, MA
Posts: 36
brianc217 is an unknown quantity at this point
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   Spotlight this post!  
Unread 05-01-2009, 19:29
Bryan Herbst's Avatar
Bryan Herbst Bryan Herbst is offline
Registered User
AKA: Bryan
FRC #2052 (KnightKrawler)
Team Role: Mentor
 
Join Date: Sep 2007
Rookie Year: 2007
Location: Minneapolis, Minnesota
Posts: 545
Bryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond repute
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!
__________________
Team 2052- KnightKrawler
Mentor and volunteer
  #6   Spotlight this post!  
Unread 05-01-2009, 19:39
Tanner's Avatar
Tanner Tanner is offline
Registered User
FRC #1261 (Roblions)
Team Role: Programmer
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Suwanee, GA
Posts: 311
Tanner is a splendid one to beholdTanner is a splendid one to beholdTanner is a splendid one to beholdTanner is a splendid one to beholdTanner is a splendid one to beholdTanner is a splendid one to behold
Re: Downloading code- DS says "No Code"

Quote:
Originally Posted by brianc217 View Post
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?
Thats slightly right.

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   Spotlight this post!  
Unread 05-01-2009, 19:46
brianc217's Avatar
brianc217 brianc217 is offline
Registered User
None #1153
 
Join Date: Feb 2008
Location: Walpole, MA
Posts: 36
brianc217 is an unknown quantity at this point
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)
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

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


All times are GMT -5. The time now is 01:17.

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