# 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.

FRC Pneumatics Manual

PCM User’s Guide

Pneumatics Step by Step for the roboRIO

## 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.