Using the Compressor in LabVIEW
This snippet shows how to set up your roboRIO project to use the Pneumatic Control Module (PCM). The PCM automatically starts and stops the compressor when specific pressures are measured in the tank. In your roboRIO program, you will need to add the following VIs.
For more information, check out the following links:
https://rps01.usfirst.org/frc/manual/2015/2015FRCPneumaticsManual.pdf
http://crosstheroadelectronics.com/PCM%20User's%20Guide.pdf
http://team358.org/files/pneumatic/Pneumatics-StepByStep-roboRIO.pdf
Begin VI
Place this snippet in the Begin.vi.
Teleop VI
Place this snippet in the Teleop.vi. This portion is only required if you are using the outputs for other processes.
Finish VI
Place this snippet in Close Refs, save data, etc. frame of the Finish.vi.

0 Report Errors
Use this form to report any errors with the documentation. For help with WPILib, please use the FIRST Forums at http://forums.usfirst.org For reporting WPILib bugs, please submit an issue on GitHub at https://github.com/wpilibsuite/allwpilib/issues/new