|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||||
|
|||||
|
Re: Code Not Deploying
Use "Build", then "Run as startup"
from the Build specifications -> FRC Robot Boot-up Deployment "Deploy" only copies the code to the cRIO, but doesn't tell the cRIO to run it. Last edited by Mark McLeod : 08-02-2013 at 23:41. |
|
#2
|
|||
|
|||
|
Re: Code Not Deploying
Wait, then why would you want to only copy the code and not run it?
|
|
#3
|
|||||
|
|||||
|
Re: Code Not Deploying
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. |
|
#4
|
|||
|
|||
|
Re: Code Not Deploying
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.
Greg McKaskle |
|
#5
|
|||
|
|||
|
Re: Code Not Deploying
Hi guys,
This is a little embarrassing, but I'm not able to find run as startup when I right click Build Specifications UPDATE: Never mind, found it. Thanks for all your help guys, sorry for the inconvenience! Last edited by cdizzle : 09-02-2013 at 14:28. |
|
#6
|
|||
|
|||
|
Re: Code Not Deploying
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"
|
|
#7
|
|||
|
|||
|
Re: Code Not Deploying
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.
Greg McKaskle |
|
#8
|
|||
|
|||
|
Re: Code Not Deploying
Quote:
|
|
#9
|
|||
|
|||
|
Re: Code Not Deploying
Still isn't responding means it is waiting for ...
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. Greg McKaskle |
|
#10
|
|||
|
|||
|
Re: Code Not Deploying
It worked after I re-imaged the cRIO, if that helps in any way.
|
|
#11
|
|||
|
|||
|
Re: Code Not Deploying
If imaging the cRIO involves formatting it, then the deployed app will be deleted. So it is the other, much longer, workaround.
Greg McKaskle |
|
#12
|
|||
|
|||
|
Re: Code Not Deploying
Ok, I'll try updating the LabView code, thanks for your help!
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|