Hi Everybody,
So my team has been experiencing some odd problems lately.
We are trying to deploy our code to the cRIO from labview, so we attempted selecting “build all” and then selecting “deploy all,” but what happens is that it says that the code is deployed successfully, but on the driver station, the robot code light stays red.
Instead of “Deploy all”, you need to use “Run as startup”. Keep using the “build all”, but to get it to run permanently, you have to use the run as startup command.
The CRIO is a commercial product.
Look on your own computer at the multitude of programs that have been installed (deployed) to your disk drive, but don’t run until you ask for them.
In the commercial world the same holds true for the cRIO. Some applications will put several programs onto the cRIO to be used only when they are asked for.
I know, I know. That menu has a lot of lower-level choices that really shouldn’t be at the same level as the Run as Startup. I’m trying once again to get it changed, but the RT team always seems to have bigger fish to fry. Actually, comments like yours help.
Hi guys, I think we have a new problem, the labview software cannot find the cRIO when deploying. The IP address is correct, and the driver station and the imaging tool can find the cRIO, but when I try to load the code, it keeps on “waiting for the cRIO to respond.” It also sometimes says that it “lost connection to the cRIO”
There was a bug in the RT runtime that kept LV from exiting out of deployed applications in order to start another. The LV 5.1 update works around this. The workaround until you install the update is to exit the dashboard, then deploy code, then launch the dashboard.
Also, the RT bug I described would peg the CPU when it was waiting for the deployed code to exit.
The bug would occur when any SmartDashboard client was connected, I mention the dashboard because that is typically the only one teams run, but if you are running Smartdashboard, Table Viewer, RoboRealm, or other Smartdashboard clients exit those too. And better yet, install the LV5.1 update and the bug will go away.