Go to Post I think it's great the way people involved in FIRST always try so hard not to argue. It's a good sign that all the talk of Gracious Professionalism is working. - BaldwinNYRookie [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 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
  #2   Spotlight this post!  
Unread 18-02-2010, 10:29
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
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,817
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

What messages or response do you get when you push the "Run" button on Robot Main.vi?


Quote:
Originally Posted by SchrödingersCat View Post
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.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #3   Spotlight this post!  
Unread 18-02-2010, 10:47
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
Re: No Robot Code

Quote:
Originally Posted by Mark McLeod View Post
What messages or response do you get when you push the "Run" button on Robot Main.vi?
It seems to deploy correctly. I have a indicator on the Iteration Count within the while loop in Robot Main.vi, and it increments about once per second (as the driver station is not connected).

When I attempt to start the Driver Station, the connection between the cRIO and LabVIEW times out and stops entirely. Then the Driver Station connects, and still says, "No Robot Code".
Reply With Quote
  #4   Spotlight this post!  
Unread 18-02-2010, 10:56
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 SchrödingersCat View Post
It seems to deploy correctly. I have a indicator on the Iteration Count within the while loop in Robot Main.vi, and it increments about once per second (as the driver station is not connected).

When I attempt to start the Driver Station, the connection between the cRIO and LabVIEW times out and stops entirely. Then the Driver Station connects, and still says, "No Robot Code".
Have the Driver Station application running before you try to run the robot code.
Reply With Quote
  #5   Spotlight this post!  
Unread 18-02-2010, 10:58
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
Re: No Robot Code

Quote:
Originally Posted by Alan Anderson View Post
Have the Driver Station application running before you try to run the robot code.
I can try this, but I believe LabVIEW wouldn't connect at all with the Driver Station already running (and connected).
Reply With Quote
  #6   Spotlight this post!  
Unread 18-02-2010, 11:11
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
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,817
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

You have Exited the Driver Station in the Driver users account and are running it only in the Developer account aren't you?

Not switching back to the Driver account to run the Driver Station.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #7   Spotlight this post!  
Unread 18-02-2010, 11:31
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
Re: No Robot Code

Quote:
Originally Posted by Mark McLeod View Post
You have Exited the Driver Station in the Driver users account and are running it only in the Developer account aren't you?

Not switching back to the Driver account to run the Driver Station.
Yes, I hold SHIFT while windows comes up so I login only the Developer account, and run the Driver Station while in Developer.
Reply With Quote
  #8   Spotlight this post!  
Unread 18-02-2010, 12:43
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
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,817
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

Sounds weirdly like only one app can use the network connection at a time.
You can also try turning off the Classmate wireless while you are trying this, so we know it isn't port confusion.

Have you changed the Classmate much, if at all, from it's original condition by installing third-party software?
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #9   Spotlight this post!  
Unread 18-02-2010, 14:22
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
Re: No Robot Code

Quote:
Originally Posted by Mark McLeod View Post
Sounds weirdly like only one app can use the network connection at a time.
You can also try turning off the Classmate wireless while you are trying this, so we know it isn't port confusion.

Have you changed the Classmate much, if at all, from it's original condition by installing third-party software?
No, in fact, I just used the Restoration Key and installed all the updates.
Reply With Quote
  #10   Spotlight this post!  
Unread 18-02-2010, 17:04
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
Lightbulb Re: No Robot Code

Got it working. I created a new blank cRIO FRC Project with all the updates installed, and magically everything works.
Reply With Quote
  #11   Spotlight this post!  
Unread 18-02-2010, 17:06
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
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,817
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

Might have been a mix of old version code then.

Good news.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #12   Spotlight this post!  
Unread 18-02-2010, 17:09
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
Re: No Robot Code

Quote:
Originally Posted by Mark McLeod View Post
Might have been a mix of old version code then.

Good news.
Actually, the old code from before I re-imaged the Classmate worked perfectly now that everything was properly installed.
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 14:13.

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