Question|Help in LabVIEW

Hello,
I’m a new programer from team 2215 which is located in northern Israel.
Can anyone please tell me:

  1. What gain should I set for the Gyro in order to get the actual angle?
  2. What value does the pressure switch output when the pressure is 120 psi (‘1’ or ‘0’)?

thx

The gain will be different for different type of gyros. You can find the value on the datasheet for the gyro you want to use. For example, last year we used an ADXRS610 gyro. The data sheet says that the sensitivity is 6mv/degree/sec. Therefore, we used 0.006 for the gain, since LabVIEW expects the gain in volts/degree/sec.

The compressor VIs can handle both the compressor and pressure switch for you. When you start the compressor task, it will monitor the pressure switch and turn the compressor on and off for you.

For the compressor you can also look at the LabVIEW examples. In LabVIEW click View>>Getting Started Window… then click Examples, and choose Compressor with Cylinder. The example shows how to wire everything. There is also a simpler Solenoid With Compressor example.