Go to Post Patents are an issue of law which, alas, has little to do with engineering or common sense. - Mike Betts [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 16-02-2010, 08:56
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

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
  #2   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
  #3   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
  #4   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
  #5   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
  #6   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
  #7   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
  #8   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
  #9   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
  #10   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
  #11   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
  #12   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
  #13   Spotlight this post!  
Unread 18-02-2010, 10:28
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

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 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