|
Re: Code Check
I don't have labview at home, so i cant help you specifically, but the compressor part is pretty easy. All you need is to open a compressor in the begin vi, with the pressure switch pwm port and the relay for the spike as its inputs, start the compressor, and then give it a reference name (and finish it in finish.vi).
No code in teleop needed. The compressor will automatically start pumping when autonomous starts, and when it hits about 120 psi, it will stop. You can also preload air into your tanks before matches so the compressor won't have to run during autonomous.
__________________
Team 1403 Cougar Robotics
2009-2011 Programming Captain
2010
NJ-Regional - Chairmans Award
|