Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   NI LabVIEW (http://www.chiefdelphi.com/forums/forumdisplay.php?f=182)
-   -   loading into cRio (http://www.chiefdelphi.com/forums/showthread.php?t=98793)

tilky 13-12-2011 07:21

loading into cRio
 
me and another programmer have been trying to load the code into the robot with no success. we hit run, and it seems that it is sending, but when we go to driver station, it says there is no robot code. What are we doing wrong?

Mark McLeod 13-12-2011 07:25

Re: loading into cRio
 
1 Attachment(s)
Are you using the Run button at the top of the screen?
That's temporary and generally for debugging.

To put the code permanently onto the robot, so that it automatically runs whenever the robot is started, look under "Build Specifications" on the Project Explorer window.
Under that will be a single entry "FRC Robot Boot-up Deployment"
Right-click on the entry there and choose:
  1. Build - takes a few minutes
  2. Run as startup
Run as startup will take a little longer as it transfers everything to the cRIO. The first time it will just do it, but after the first time you will also see a pop-up message warning you that it will be replacing files that already exist on the cRIO. When you see that just click okay.

Alan Anderson 13-12-2011 10:08

Re: loading into cRio
 
Quote:

Originally Posted by tilky (Post 1090758)
...we hit run,...

What "run" are you hitting? If you want to run your LabVIEW robot code with access to the VI front panels, you need to run the "Robot Main" VI. And then you need to leave it running. Don't close LabVIEW before you start the Driver Station application.

Mark's advice is proper if you want to load the robot code onto the cRIO and run it there with no interaction with LabVIEW on your PC.


All times are GMT -5. The time now is 09:28.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi