Go to Post What is this? PVC pirates with no visible PVC? (at least that I can see) IMPOSTORS! - theawesome1730 [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
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 21-03-2013, 11:24
azureflame241 azureflame241 is offline
Registered User
FRC #3283
 
Join Date: Jan 2013
Location: Germantown, Maryland
Posts: 5
azureflame241 is an unknown quantity at this point
No Robot Code

The cRIO that were using is imaged in LabView and we have the code loaded onto the cRIO, we are able to connect to the cRIO but it says no robot code in the driver station, can some one help us with this problem?
Reply With Quote
  #2   Spotlight this post!  
Unread 21-03-2013, 11:57
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: No Robot Code

"No robot code" means that the Driver Station cannot communicate with a robot program running on the cRIO. If you are connected and the "Communication" indicator is green, then it means no code is running on the cRIO.

It can happen if no code was loaded before the system was booted. How did you load the code onto the cRIO?

It can also happen if code is present but the NO APP switch is turned on. If you are using an 8-slot cRIO with physical switches, make sure NO APP is OFF. If you have a 4-slot cRIO, use the imaging tool to make sure the virtual NO APP switch is off.
Reply With Quote
  #3   Spotlight this post!  
Unread 22-03-2013, 01:08
eruiz22 eruiz22 is offline
Registered User
FRC #4210
 
Join Date: Feb 2013
Location: South Gate
Posts: 29
eruiz22 is on a distinguished road
Re: No Robot Code

Hey my team had the same problem this year. I found that restarting the robot after building and deploying fixed our problem.
I think it's worth a try
Reply With Quote
  #4   Spotlight this post!  
Unread 22-03-2013, 09:39
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: No Robot Code

Quote:
Originally Posted by eruiz22 View Post
Hey my team had the same problem this year. I found that restarting the robot after building and deploying fixed our problem.
I think it's worth a try
If you use the Run As Startup command instead of Deploy, the robot will be rebooted as part of the process. There's never really a good reason to use the Deploy command in LabVIEW.
Reply With Quote
  #5   Spotlight this post!  
Unread 04-04-2013, 14:37
azureflame241 azureflame241 is offline
Registered User
FRC #3283
 
Join Date: Jan 2013
Location: Germantown, Maryland
Posts: 5
azureflame241 is an unknown quantity at this point
Re: No Robot Code

We used LabView to load the code on the robot, we used Robot Main.vi to load on the cRIO
Reply With Quote
  #6   Spotlight this post!  
Unread 04-04-2013, 15:28
Tom Line's Avatar
Tom Line Tom Line is offline
Raptors can't turn doorknobs.
FRC #1718 (The Fighting Pi)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 1999
Location: Armada, Michigan
Posts: 2,533
Tom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond repute
Re: No Robot Code

Quote:
Originally Posted by azureflame241 View Post
We used LabView to load the code on the robot, we used Robot Main.vi to load on the cRIO
Using robot main does not permanently place a copy of the compiled program onto the robot.

To do that, you need to use the project explorer, move to the bottom item "Build Specifications", and click the "+" symbol to expand it. Right click on the item that was revealed, then click "build". Once the build is complete, right click again and click "Run as startup". This will place your compiled code onto the cRIO so that it executes whenever the cRIO is powered on.

Last edited by Tom Line : 04-04-2013 at 15:34.
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 22:49.

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