|
Re: Air Cylinder,compressor,soleinoids,relay
Using LabVIEW, you have access to some very good example code and tutorials.
On the left side of the Getting Started window, select the Support tab, then click on the "Find FRC Examples..." link. Browse for the "Solenoid with Compressor" example project (it's in the Pneumatics subfolder under FRC Robotics) and open it. It shows you exactly how to make a compressor work and exactly how to control a solenoid.
One of the tutorials you can find from the Getting Started window is Tutorial 7 - Integrating Examples into Robot Code. That'll tell you how to take the working code from the example and put it into your robot program.
|