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:

FRC Pneumatics Manual

PCM User’s Guide

Pneumatics Step by Step for the roboRIO

Begin VI

Place this snippet in the Begin.vi.

../../../../_images/begin.png

Teleop VI

Place this snippet in the Teleop.vi. This portion is only required if you are using the outputs for other processes.

../../../../_images/teleop.png

Finish VI

Place this snippet in Close Refs, save data, etc. frame of the Finish.vi.

../../../../_images/finish.png