Go to Post In theory, this should work... Oops. - Eldarion [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 26-01-2011, 11:43
exprg:melonhead's Avatar
exprg:melonhead exprg:melonhead is offline
The Teamless/ Travelling Mentor
AKA: Justin Sticht
FRC #3278 (Qwerty)
Team Role: Mentor
 
Join Date: Feb 2010
Rookie Year: 2004
Location: Fargo, ND
Posts: 34
exprg:melonhead has a spectacular aura aboutexprg:melonhead has a spectacular aura aboutexprg:melonhead has a spectacular aura about
Weird c-RIO issues

Today, we tried to run our robot, so I deployed the code, and hit enable. Everything seemed to be working well until our robot enabled with motors in full reverse and ran into me. We hit the stop button and did everything to stop the robot.

Our problem comes after that moment. After this incident, our developing computer cannot connect to the c-RIO. Our 2go computer seems to not have an issue, due to the green light on dashboard saying it's connected. We have tried hard wiring to the bridge and to the c-RIO but nothing makes it work any better. Has anybody else had this problem? If any body has any ideas as to what we can do, that would be greatly appreciated to know.
  #2   Spotlight this post!  
Unread 26-01-2011, 11:51
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: Weird c-RIO issues

Double-check your IP addresses.

See if the cRIO Imaging Utility on the development computer can find the cRIO.

What programming language are you using? How are you telling the computer to "connect to" the cRIO?
  #3   Spotlight this post!  
Unread 26-01-2011, 12:01
Cecil's Avatar
Cecil Cecil is offline
Registered User
AKA: Alex Hummel
FRC #2010 (Lightning Bots)
Team Role: Mentor
 
Join Date: Dec 2008
Rookie Year: 2006
Location: Champion
Posts: 343
Cecil is a splendid one to beholdCecil is a splendid one to beholdCecil is a splendid one to beholdCecil is a splendid one to beholdCecil is a splendid one to beholdCecil is a splendid one to beholdCecil is a splendid one to behold
Re: Weird c-RIO issues

After you hit the stop button, did you physically turn off the robot and turn it back on? It takes a full reboot of the controller once the stop button has been hit to re-enable it.
__________________
I'm right 90% of the time, so why worry about the other 3%?
  #4   Spotlight this post!  
Unread 26-01-2011, 13:21
exprg:melonhead's Avatar
exprg:melonhead exprg:melonhead is offline
The Teamless/ Travelling Mentor
AKA: Justin Sticht
FRC #3278 (Qwerty)
Team Role: Mentor
 
Join Date: Feb 2010
Rookie Year: 2004
Location: Fargo, ND
Posts: 34
exprg:melonhead has a spectacular aura aboutexprg:melonhead has a spectacular aura aboutexprg:melonhead has a spectacular aura about
Re: Weird c-RIO issues

We did restart the robot And the computer. That did not help. I did not try checking the address due to time, but it was able to connect just before. Its worth checking out.
  #5   Spotlight this post!  
Unread 26-01-2011, 13:24
mgurgol mgurgol is offline
Registered User
FRC #1094
 
Join Date: Jan 2006
Location: St Louis MO
Posts: 76
mgurgol is just really nicemgurgol is just really nicemgurgol is just really nicemgurgol is just really nicemgurgol is just really nice
Re: Weird c-RIO issues

We were seeing a few weird issues with the c-Rio last night. When trying to run Labview, we were getting a "target in use by another..", and would not continue. The PC was, however, able to see the cRio in the cRio imaging tool.

We had been running fine up until then. We tried closing the project, closing Labview, and even rebooting the machine to no avail.

We tried the same thing on our second programming PC and received the same message. The only way we found to correct the issue was to reboot the driver station. (By process of elimination, there were only two computers involved in the process, the programming PC and the Driver station).

Has anyone else seen this type of issue
  #6   Spotlight this post!  
Unread 26-01-2011, 13:25
exprg:melonhead's Avatar
exprg:melonhead exprg:melonhead is offline
The Teamless/ Travelling Mentor
AKA: Justin Sticht
FRC #3278 (Qwerty)
Team Role: Mentor
 
Join Date: Feb 2010
Rookie Year: 2004
Location: Fargo, ND
Posts: 34
exprg:melonhead has a spectacular aura aboutexprg:melonhead has a spectacular aura aboutexprg:melonhead has a spectacular aura about
Re: Weird c-RIO issues

Also, I'm using labview and connecting by pushing the deploy button. Probably not the technical term
  #7   Spotlight this post!  
Unread 26-01-2011, 13:30
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,588
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: Weird c-RIO issues

Quote:
Originally Posted by mgurgol View Post
We were seeing a few weird issues with the c-Rio last night. When trying to run Labview, we were getting a "target in use by another..", and would not continue.
We fix that by rebooting the robot.
  #8   Spotlight this post!  
Unread 26-01-2011, 13:34
exprg:melonhead's Avatar
exprg:melonhead exprg:melonhead is offline
The Teamless/ Travelling Mentor
AKA: Justin Sticht
FRC #3278 (Qwerty)
Team Role: Mentor
 
Join Date: Feb 2010
Rookie Year: 2004
Location: Fargo, ND
Posts: 34
exprg:melonhead has a spectacular aura aboutexprg:melonhead has a spectacular aura aboutexprg:melonhead has a spectacular aura about
Re: Weird c-RIO issues

If I remember right, rebooting only works if you haven't built yet. We don't build the project on the c-Rio until it is finished. Otherwise you need to override the built project. It ended up being a mess for us
  #9   Spotlight this post!  
Unread 26-01-2011, 14:02
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,856
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: Weird c-RIO issues

If you use the RUN button to execute your code on the robot, then even after you stop, LabVIEW maintains a connection to the robot for that particular project.
That will cause it to lock out other projects and other LabVIEW development machines.

Usually, the simple answer is to use Disconnect--Right-click in the Project Explorer window on "RT CompactRIO Target(10.xx.yy.02)" and choose Disconnect. If it's grayed out, then a different project or machine is the culprit.
Sometimes you also have to reboot the robot to shake the connection.
It sounds like you may have several machines/projects contending for the cRIO.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 26-01-2011 at 14:11.
  #10   Spotlight this post!  
Unread 26-01-2011, 19:15
exprg:melonhead's Avatar
exprg:melonhead exprg:melonhead is offline
The Teamless/ Travelling Mentor
AKA: Justin Sticht
FRC #3278 (Qwerty)
Team Role: Mentor
 
Join Date: Feb 2010
Rookie Year: 2004
Location: Fargo, ND
Posts: 34
exprg:melonhead has a spectacular aura aboutexprg:melonhead has a spectacular aura aboutexprg:melonhead has a spectacular aura about
Re: Weird c-RIO issues

After redoing the IP addresses (the computer somehow lost the robot IP address) it worked for only one run. I don't know if this offers any clues, but after the developer computer disconnected, it still had the c-RIO in it's registry. I was lost before, but this really confuses me now
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


All times are GMT -5. The time now is 23:33.

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