Quote:
Originally Posted by dmitch
Ok sorry. First of all, it is coded in LabView. When I say the code runs but doesn't compile I mean that when i click the run arrow in LabView, it shows the code as running, however, it will not compile to the cRIO.
|
How are you trying to get it to "compile to the cRIO"? What happens when you try? You
should be choosing the Build option under the right-mouse-button menu from the "FRC Robot Bootup Deployment" object at the very bottom of the project window. That object is nested under "Build Specifications" and "RT CompactRIO Target". Then, after the project has been built successfully, you need to choose the "Run as startup" option from the same menu.
Quote:
|
It is my first year being the head programmer because our programmer last year is now in college. As I understand it though, I'm supposed to get a message box saying "compiling to cRIO" (or something along those lines), and then when it has compiled, I can minimize LabView and open up the drivers station.
|
This sounds suspiciously like you're not running the Driver Station application.
Quote:
I wish I had more to say but our coach and I are both confused because everything seems to be hooked up correctly. We are pretty sure that is either a problem with the cRIO itself, the code, or the wiring because we have direct-wired it and it would not run. I believe the code works because I am not recieving any errors stopping it from running. Also, I believe the wiring is correct because it hasn't been touched since last March.
That leaves only the cRIO as we see it.
|
What do the indicators on the Driver Station's "Dagnostics" tab tell you?
If you haven't enabled the robot using the button on the "Operation" tab of the Driver Station application, none of the motors or relays or solenoids will be allowed to work.