OK, I have used LabVIEW before but I’m still learning the software. I know how to use the coding techniques but one problem I have always had was building the code onto the cRio. What confuses me is what should I do to build the code. I know you have to use the build specifications option and run the robot main but for some reason, it is not allowing me to use the code for the robot. From the Driver Station, it tells me that the code is starving or there is too much when I run the coding. When I run teleop, the coding is there but I cannot move the robot. My team has used this robot during competition and it worked fine. The only problem was when I tried to use an additional motor, two solenoids, and a compressor, they would not work.
So here are my questions:
- How can I build coding onto my robot without having to lose the data once the cRio turns off? What is the procedure?
- What am I doing wrong with the coding?
To clear up the robot’s purpose:
For the Ultimate Ascent Challenge, we made a canister to hold Frisbees. In the canister, near the bottom of it, is a solenoid that is suppose to extract once a boolean is pressed and retract once released (used to hit the Frisbees). Of course we use a compressor for air. The coding for it is in the periodic task. It is then launched into a spinning wheel to launch the Frisbees. The wheel is being controlled by a boolean. The main robot drive is operated in arcade drive and talons are being used. Take note, the first joystick is used for driving and the second one is used for shooting the Frisbees. And I have also placed a Wait(ms) function in Robot Main. Additional pictures will show the manipulated coding that I have placed in the project.
Any type of help would be nice.