![]() |
issue with loading robot code
Hi. We have been dealing with an issue when loading code into the cRIO.
After making changes to our labview code, we 'build' and then load the code through 'run as startup'. The message window states that it is trying to connect to target - and just seems to hang there never actually loading the software. Not sure if we are waiting long enough - there does not seem to be any timeout. What we end up doing is to re-image the cRIO. After re-imaging, then we are able to connect to the target and load the code. It doesn't make sense that re-imaging must be done each time a new load is sent to the cRIO. I assume that our programming 'process' is being done out of sequence or incorrectly, but I am not sure. I have not been loading the software myself - it is being done by another mentor - so I am not sure of the environment of the computer while attempting to reprogram the cRIO. One thing I noticed is that the imaging tool, dashboard and the labview development environment are all running at the time of the reprogramming attempts. Is this ok? Will there be any contention from programs competing for communications with the cRIO? I'd appreciate any suggestions on how to rectify this issue. |
Re: issue with loading robot code
When you're still testing things, just run the code temporarily with the arrow button from Robot Main. We never actually build our code until we get to competiion.
|
Re: issue with loading robot code
Ok. Thanks for the suggestion. I have actually tried running robotmain too.
I am still wondering why we would have to re-image (re-format) before loading. |
Re: issue with loading robot code
I'm not sure what could be behind needing to reformat, but we had a aimilar problem earlier this year when another programmer here built the code really early into the season. I'd guess that the new code that's on the computer can't be run/deployed when the cRIO is already in use from the previously deployed code.
|
Re: issue with loading robot code
Install LabVIEW Update 5.1 or close the dashboard while loading code.
|
Re: issue with loading robot code
RufflesRidge's advice is good, if a bit terse.
Quote:
Shutting down the Dashboard before trying to load new code masks the bug and lets the new program overwrite the old one. That's the simple workaround. The proper fix is to install the newest (5.1) LabVIEW update. |
Re: issue with loading robot code
Thank you. I'll make sure the team updates with 5.1.
|
| All times are GMT -5. The time now is 09:42. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi