In C++, there are Compressor->Start(); and Compressor->Stop() functions that will enable and disable the compressor.
http://first.wpi.edu/FRC/roborio/rel...ompressor.html
There are similar functions in Java.
http://first.wpi.edu/FRC/roborio/rel...pressor. html
This if from the Labview Documentation:
Quote:
Compressor
Use the Compressor Vis to start and stop a compressor. The Compressor Vis manipulate a pressure Switch connected To the High pressure Side of The pneumatic Circuit of The robot, controlling the compressor of the robot.
https://decibel.ni.com/content/docs/DOC-14708
|