|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Issue deploying robot code to cRIO
We're having a strange problem with deploying code to the cRIO. We're a 2nd year team and we did not have this same issue last year.
When the cRIO and the development computer are freshly rebooted, everything works fine. We can build the code and deploy it with no problem. The driver's station connects and we can drive the robot around. If we, say, make a change to the code, rebuild, and redeploy, the deployment process hangs at the "Waiting for real-time target to respond" stage. It's very repeatable. Here's the sequence that causes it to hang: 1. Turn on the driver's station laptop and open Dashboard. 2. Reboot cRIO and development computer. 3. Right-click on Robot Main.vi in the project explorer window and select "Run". Code deploys with no problems. 4. Reboot cRio when prompted. 5. Wait for Dashboard to connect and press the Enable button. Verify the robot running the newly deployed code. 6. Press Disable on the Dashboard. 7. Redeploy by right-clicking on Robot Main.vi and selecting "Run" again. 8. Hang forever on "Waiting for real-time target to respond". Here's a work-around we found that seems to implicate the Dashboard. After steps 1-6 above, we reboot the cRIO and immediately close the Dashboard program. After the cRIO boots, we can then deploy the code without a problem. We can then reopen Dashboard and everything works fine. If Dashboard is running on the driver's station laptop during the redeployment, it will hang. It seems that once the cRIO connects to the driver's station and the Enable button is pressed the first time (steps 1-5), something about Dashboard is preventing the cRIO from reconnecting and accepting a new program after that. Our team number is 4146, so our IP addresses are: cRIO: 10.41.46.2 Driver's station laptop: 10.41.46.9 Development computer: 10.41.46.6 Has anyone else experienced this problem? Can anyone verify that it does or does not happen to them when they follow the same steps above? Any troubleshooting ideas are greatly appreciated. EDIT: Another point of interest. We're using our cRIO from 2012, but we successfully flashed it with this year's (2013) firmware. We also successfully flashed the DLink using the new utility. Last edited by Rusttree : 13-01-2013 at 04:15. Reason: additional details |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|