|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Labview can't connect to cRIO
We have reflashed our cRIO, and we can ping it through command prompt. In addition , driver station says communications are green, but when we try to push down code, it says waiting for real-time target to respond. Any help?
|
|
#2
|
||||
|
||||
|
Re: Labview can't connect to cRIO
Check to make sure your project is directing the code to the correct ip address. Are communications up?
|
|
#3
|
|||
|
|||
|
Re: Labview can't connect to cRIO
So here's more information.
1. All software is updated. 2. Our test drivetrain vi works on its own. It can push down and run. 3. Communications are green on driver station. 4. When we try to push down Robot Main.vi, it gets stuck looking for the cRIO. |
|
#4
|
||||
|
||||
|
Re: Labview can't connect to cRIO
I would try closing out LabVIEW and the Driver Station completely and restart it. If that doesn't work then you may want to check to see if the 'START Comm' has been placed. I hope this helps. Do you have any messages in the debugging console in the Driver Station?
Last edited by MattCarey3625 : 19-02-2011 at 21:17. Reason: additional comments |
|
#5
|
|||||
|
|||||
|
Re: Labview can't connect to cRIO
I don't know what you mean by "push down". Can you be a little more explicit about what you're trying to do, and how you're trying to do it?
|
|
#6
|
|||||
|
|||||
|
Re: Labview can't connect to cRIO
We have been having this exact problem for years. We try to "temporarily deploy" by running (pushing down) Robot Main, and get various ways in how the deploying dialog is waiting for the cRIO to respond. We've had trouble identifying a pattern: it occurs across laptops, and now that over different LabVIEW firmwares from different years. The Driver Station reports communications, and the startup robot code (showing green LEDs). I only recall this occurring over wireless.
Its important to note that this doesn't occur with both of our cRIO-FRC II's (both on wireless). The only one running startup code has the problems. I believe reflashing the cRIO was a short-term fix last year; I will try that again as I'm not sure what to try next. Any ideas? |
|
#7
|
|||
|
|||
|
Re: Labview can't connect to cRIO
The current SmartDashboard VI has a problem being shutdown when it is deployed. This was listed as a known issue and the workaround is to make sure the dashboard is shutdown before redeploying. An update the fixes the issue should be available next week.
Greg McKaskle |
|
#8
|
|||||
|
|||||
|
Re: Labview can't connect to cRIO
Quote:
Quote:
|
|
#9
|
|||
|
|||
|
Re: Labview can't connect to cRIO
Typically, I reboot the cRIO from the DriverStation Diagnostics tab. Before it can re-establish communications, I completely exit the DriverStation. Double check your computer's IP address, wait a minute or two, then try to deploy again. It has always worked for us.
-JP Team 3039 |
|
#10
|
|||
|
|||
|
Re: Labview can't connect to cRIO
The bug is only in this year's version of SmartDashboard. I was mentioning it because the symptom fit.
The most common cause I saw last year for not being able to deploy was that the robot would be disabled and the disabled code was using lots of CPU because it was constantly throwing errors. We changed the framework slightly this year to help avoid that. I'd encourage you to start from this year's template and merge in some of last year's code and see if the deploy issue goes away. Otherwise, let's debug it -- which isn't the same as guessing at the issue. And it should not be necessary to reboot in order to be able to deploy. Greg McKaskle Last edited by Greg McKaskle : 24-01-2013 at 07:46. Reason: Another thought |
|
#11
|
|||
|
|||
|
Re: Labview can't connect to cRIO
My team had the exact problem and we were able to fix it. Make a connection between the cRio and ur Computer through ethernet then go into your network connections and click in the connection that is between the cRio and the Computer. Right click on Properties and then double click on TCP/IPv4 and assign it a IP of 10.xx.yy.5(xx and yy is team number). Then give it a subnet of 255.0.0.0 and click OK. Then trying pinging our cRio to 10.xx.yy.2,you should get a reply back
P.S. when deploying a code in Labview make sure to "Build" then "Run As Startup" |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|