|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||||
|
|||||
|
Re: crio not running new code
Your use of terminology is a little unclear. It sounds like you're trying to Deploy the Robot Main vi instead of telling LabVIEW either to Run it or to Build the project then Run As Startup. There is basically never a reason to use the Deploy menu option.
Can you tell us, step by step, what you are doing? Try not to assume that we know what you mean by "go into the driver station" or "deploying code". Instead, describe the menu choices and mouse clicks so we can follow along and perhaps identify where your procedure is going wrong. |
|
#2
|
||||
|
||||
|
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. |
|
#3
|
|||
|
|||
|
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 |
|
#4
|
|||||
|
|||||
|
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 |
|
|