Go to Post The robot uprising is coming for your chairs first, people. - bobbysq [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 15-02-2010, 21:00
SidneySalvo SidneySalvo is offline
Registered User
FRC #1691
 
Join Date: Jan 2008
Location: Sidney
Posts: 22
SidneySalvo is an unknown quantity at this point
No Robot Code

So the problem is that no matter what i try, whenever i go into the driver station to try and run the code i sent to the cRIO, it shows up as "No Robot Code"

1:yes i have installed all of the current updates for both driver station (1.1) Labview (2.1), and i have the most current cRIO image that i know of (v20)

2: I followed all the steps to make the project as outlined in the FRC programming guide, in the manuals section of the Labview program files.

3: i first build the program and then click run as startup under the build specification.

4: I am using the Classmate and to enter the driverstation i hit (windows key+L) to quickly switch users. I do this because whenever i attempt to pull up the DS on the developer account it always says there is no communication to the robot.

Even with all of that i'm still getting the "No Robot Code". In the diagnostics tab i have the error message "No change to Network Configuration: "Local Area Connection""

Can Someone please help me!! we are running out of time!
__________________
The Universe is filled with magical things, patiently waiting for our wits to grow sharper.
Reply With Quote
  #2   Spotlight this post!  
Unread 15-02-2010, 23:52
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,112
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

The Diagnostics tab has a bunch of communication tests with red or green lights next to them. Is the "Robot" light green?
Reply With Quote
  #3   Spotlight this post!  
Unread 15-02-2010, 23:55
SidneySalvo SidneySalvo is offline
Registered User
FRC #1691
 
Join Date: Jan 2008
Location: Sidney
Posts: 22
SidneySalvo is an unknown quantity at this point
Re: No Robot Code

Yes it is
__________________
The Universe is filled with magical things, patiently waiting for our wits to grow sharper.
Reply With Quote
  #4   Spotlight this post!  
Unread 15-02-2010, 23:55
Mark McLeod's Avatar
Mark McLeod Mark McLeod is online now
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,713
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: No Robot Code

Have you set your team number in the Setup tab?

Exit the Driver account and start the Driver Station application in the Developer account anyway.
When it's running go look at the IP address under Network Connections through the Windows Start menu. See if your IP has been set to 10.16.91.5
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #5   Spotlight this post!  
Unread 16-02-2010, 00:00
SidneySalvo SidneySalvo is offline
Registered User
FRC #1691
 
Join Date: Jan 2008
Location: Sidney
Posts: 22
SidneySalvo is an unknown quantity at this point
Re: No Robot Code

Our number is actually 1691. I will check the IP tomorrow when i get the chance, however when i run the DS on the developer account, it not only says "No Robot Code" but also "No Communication" ><
__________________
The Universe is filled with magical things, patiently waiting for our wits to grow sharper.
Reply With Quote
  #6   Spotlight this post!  
Unread 16-02-2010, 00:09
Mark McLeod's Avatar
Mark McLeod Mark McLeod is online now
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,713
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: No Robot Code

How is the Classmate connected, communications-wise, to the cRIO-wireless, direct Ethernet cable?

Try turning off the wireless and direct connecting for now if you aren't already.

The communication problem could be contributing to your Robot Code issue.
There really shouldn't be any difference between accounts, so that bears investigating.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #7   Spotlight this post!  
Unread 16-02-2010, 00:11
SidneySalvo SidneySalvo is offline
Registered User
FRC #1691
 
Join Date: Jan 2008
Location: Sidney
Posts: 22
SidneySalvo is an unknown quantity at this point
Re: No Robot Code

ok i will see if that works. i think i have tried it once before but after the updates something may have changed...anyother suggestions?
__________________
The Universe is filled with magical things, patiently waiting for our wits to grow sharper.
Reply With Quote
  #8   Spotlight this post!  
Unread 16-02-2010, 00:14
Mark McLeod's Avatar
Mark McLeod Mark McLeod is online now
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,713
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: No Robot Code

Have you made any changes to the Classmate setup?
Installed any non-FIRST code?

Swapped out cables?
Tried it on a different PC?
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #9   Spotlight this post!  
Unread 16-02-2010, 00:24
SidneySalvo SidneySalvo is offline
Registered User
FRC #1691
 
Join Date: Jan 2008
Location: Sidney
Posts: 22
SidneySalvo is an unknown quantity at this point
Re: No Robot Code

Quote:
Originally Posted by Mark McLeod View Post
Have you made any changes to the Classmate setup?
Installed any non-FIRST code?

Swapped out cables?
Tried it on a different PC?
No changes that i know up, we had to reformat it using the flash drive just before i got started. (we now keep a password on it...stupid freshmen)

as too non-FIRST code, i do not beilieve so but i was following the instructions to create the FRC project, and that is what i've been trying to download to the cRIO. i didn't read that there were any changes that had to be made so i haven't made any.

we are using all of the ethernet cables we have currentally.

one other thing that could be the problem...could the cRIO not be running the code because we don't have the correct moduals inserted in it in the right places
__________________
The Universe is filled with magical things, patiently waiting for our wits to grow sharper.
Reply With Quote
  #10   Spotlight this post!  
Unread 16-02-2010, 01:05
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,112
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 SidneySalvo View Post
No changes that i know up, we had to reformat it using the flash drive just before i got started.
You must apply the LabVIEW and Driver Station updates before communication will work properly. See http://www.usfirst.org/frccontrolsystem for links.
Reply With Quote
  #11   Spotlight this post!  
Unread 16-02-2010, 08:56
Mark McLeod's Avatar
Mark McLeod Mark McLeod is online now
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,713
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: No Robot Code

Quote:
Originally Posted by SidneySalvo View Post
One other thing that could be the problem...could the cRIO not be running the code because we don't have the correct modules inserted in it in the right places
Your code would still run, it just wouldn't work right if the modules weren't where they are supposed to be.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #12   Spotlight this post!  
Unread 16-02-2010, 13:55
SidneySalvo SidneySalvo is offline
Registered User
FRC #1691
 
Join Date: Jan 2008
Location: Sidney
Posts: 22
SidneySalvo is an unknown quantity at this point
Re: No Robot Code

I have applied those two updates and also re imaged the cRIO afterwards. i don't have a clue what else to try!

After forming the project are there any changes that need to be applied to make it work?

can someone send a decent quality pic of their cRIO?
__________________
The Universe is filled with magical things, patiently waiting for our wits to grow sharper.
Reply With Quote
  #13   Spotlight this post!  
Unread 16-02-2010, 18:35
SidneySalvo SidneySalvo is offline
Registered User
FRC #1691
 
Join Date: Jan 2008
Location: Sidney
Posts: 22
SidneySalvo is an unknown quantity at this point
Re: No Robot Code

Very Sorry to double post, but i wanted to get this back to the top so it won't just dissappear because our problem still isn't fixed but i have learned more.

So two things have changed:

1:I can now run the DS on the developer account and the "Communications" light is now green when i do that.

2: I tried to simply run the Robot Main.vi on the cRIO and that gave me the green light on the "Robot Code" light and allows me to run the motors using the joysticks. However, when i click run as startup it still tells me that "No Robot Code"
__________________
The Universe is filled with magical things, patiently waiting for our wits to grow sharper.
Reply With Quote
  #14   Spotlight this post!  
Unread 18-02-2010, 08:10
SchrödingersCat SchrödingersCat is offline
Registered User
FRC #0931
 
Join Date: Nov 2009
Location: Saint Louis, Missouri
Posts: 7
SchrödingersCat is an unknown quantity at this point
Exclamation Re: No Robot Code

Our team is having the same problem. We installed LabVIEW update 2.1 and Driver-station update 1.1 on the Classmate, updated the cRIO image to v20. We can only connect with the driver station while LabVIEW is not loaded (we cannot run the code in a real time connection). It still displays "No Robot Code".

Any ideas would be lovely.
Reply With Quote
  #15   Spotlight this post!  
Unread 18-02-2010, 10:28
Mark McLeod's Avatar
Mark McLeod Mark McLeod is online now
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,713
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: No Robot Code

Quote:
Originally Posted by SidneySalvo View Post
However, when i click run as startup it still tells me that "No Robot Code"
The part that stumps me is there are no error messages, either on the build or on the "Run as startup"

At the conclusion of "Run as startup" it asks you to reboot the cRIO, correct? The permanent code won't take effect until the cRIO is rebooted, while the temporary "Run" is the opposite and takes effect immediately, but goes away when the robot is rebooted.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
No Robot Code After downloading Code tutkows1 FRC Control System 2 08-02-2010 00:51
No Robot Code eaglesfan10 C/C++ 6 03-02-2010 22:34
Compressor Code causes No Robot Code Error sircedric4 C/C++ 25 03-02-2010 10:13
No Robot Code mlim NI LabVIEW 10 21-01-2010 17:33
Robot Code? leftylink Programming 0 18-02-2008 14:34


All times are GMT -5. The time now is 08:41.

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