Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Weird c-RIO issues (http://www.chiefdelphi.com/forums/showthread.php?t=90142)

exprg:melonhead 26-01-2011 11:43

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.

Alan Anderson 26-01-2011 11:51

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?

Cecil 26-01-2011 12:01

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.

exprg:melonhead 26-01-2011 13:21

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.

mgurgol 26-01-2011 13:24

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

exprg:melonhead 26-01-2011 13:25

Re: Weird c-RIO issues
 
Also, I'm using labview and connecting by pushing the deploy button. Probably not the technical term

Joe Ross 26-01-2011 13:30

Re: Weird c-RIO issues
 
Quote:

Originally Posted by mgurgol (Post 1008817)
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.

exprg:melonhead 26-01-2011 13:34

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

Mark McLeod 26-01-2011 14:02

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.

exprg:melonhead 26-01-2011 19:15

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


All times are GMT -5. The time now is 03:44.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi