|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
At the Suffield Shakedown today, we were unable to deploy code to the robot from LabView. When I try to deploy code, I just get a message that says 'waiting for cRIO to respond.' I know the robot is connected; we could drive it with the code that we loaded onto it the night before and it could function during the competition. I don't know why LabView can't connect to the robot correctly; everything else works, but deploying code just doesn't work.
Last edited by cjl2625 : 16-02-2013 at 23:21. |
|
#2
|
||||
|
||||
|
Re: Code not deploying
are you trying to deploy your code with the dashboard open, i know we could deploy with it open for the longest of time.
|
|
#3
|
||||
|
||||
|
Re: Code not deploying
If you have permanent code on the robot, it won't allow you to put temporary code unless you format the CRIO. That might be it.
|
|
#4
|
||||
|
||||
|
Re: Code not deploying
We can still deploy code onto our robot while we have our start up code deployed onto the crio. So I think you are wrong about this one.
|
|
#5
|
||||
|
||||
|
Re: Code not deploying
Then I guess our robot has something wrong then.
|
|
#6
|
|||
|
|||
|
Re: Code not deploying
The LabVIEW code that shipped at the start of the season handled SmartDashboard connections in a way that the cRIO couldn't abort. This meant that with permanently deployed code and a SmartDashboard client connected, a new connection or deployment would fail to complete.
This was corrected in update 5.1 and there should be no need to reformat the controller for this. Other things to check are the IP of the computer and even the CPU usage of the cRIO during the deploy. Greg McKaskle |
|
#7
|
|||
|
|||
|
Re: Code not deploying
We are also getting repeated failures to deploy, again. We tried reinstalling the 5.1 Update, but it said the update was already installed.
While trying to deploy we get the dreaded "Cannot connect to real time target" etc. We often see this once, but sometimes it shows up a second time, then we know we're dead. On at least one occasion closing the Driver's Station helped, but other times it hasn't. This is not the best time of the year for this to happen. Any help would be much appreciated. |
|
#8
|
||||
|
||||
|
Re: Code not deploying
I just have it drilled into my head to not deploy code unless the driver station is closed. That was what caused connection problems for the first week of our season.
|
|
#9
|
|||||
|
|||||
|
Re: Code not deploying
We are also having this problem with the 5.1 update installed and code permanently deployed. We tried temporarily deploying the robot code without the Dashboard or Driver Station running, without success. Flipping the "No App" switch via the cRIO Imaging Utility and letting the cRIO reboot resulted in temporary deployment success.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|