|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
Re: crio not running new code
When I finish altering my code, I exit out of the vi and go to the main lvproject explorer screen. I then go down to the Robot Main.vi and right click to select the deploy option. After the code appears to compile into the crio properly (this is assuming i am connected to the crio) I restart the crio, then launch the dashboard. Within the dashbord after I connect to the crio, I launch teleop mode, however when teleop is activated, i see no changes within the code. Even if I delete code that previously worked within the program,
it still runs on the crio, and no altered code appears to work within the program. I hope this explained abit more clearly the trouble i'm having. |
|
#2
|
|||
|
|||
|
Re: crio not running new code
That does explain things clearly and highlights the issue.
The step where you press "Deploy" is incorrect. What you should be doing instead is a two-step process: 1) clicking "Build", then waiting for the dialog box when the build is complete. 2) Clicking Run as Startup from the same menu |
|
#3
|
|||||
|
|||||
|
Re: crio not running new code
When the cRIO starts up, it will run only a .rtexe file that's been set to Run As Startup. That file is created when you Build the project.
The very bottom item in the project view contains the deployment options. That's where you find the place to right-click and do the Build and Run As Startup. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|