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:
Place this snippet in the Begin.vi.
Place this snippet in the Teleop.vi. This portion is only required if you are using the outputs for other processes.
Place this snippet in Close Refs, save data, etc. frame of the Finish.vi.