|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
Pneumatics Not Working
Can someone please take a look at our codes and tell us what may be the problem? We are not getting signal to the spikes. The spikes goes directly into the sidecar.
|
|
#2
|
|||
|
|||
|
Re: Pneumatics Not Working
1) my team actually put the startcompressor.vi in teleop.vi since teleop is in a loop and it continuously runs instead of begin which runs once.
2) I would consider using the solenoid vis instead of the relays because you don't have to go through a spike. 3) you might have to experiment with the values you are sending to your solenoids-- our solenoid actuated with the values of "off" and "forward" 4) you might want to use a latch to control your solenoids because right now it only actuates while you're pressing button 2. |
|
#3
|
|||
|
|||
|
Re: Pneumatics Not Working
move all controls into main.vi, not the startup nodes though.
this will allow them to get an input more than once. |
|
#4
|
|||||
|
|||||
|
Re: Pneumatics Not Working
It looks like your Relay code in Teleop is using the wrong enumeration (see the red dots).
Are the Relay green/red LEDs on the sidecar lighting as you work the controls? ------------------ The compressor code goes in Begin. Please take it out of Teleop. Nothing else is required anywhere else. It doesn't run just once. Start begins a background process that keeps going forever checking the pressure switch and turning the compressor on and off accordingly. You should not be modifying Robot Main whatsoever. Keep all your changes in the vi's under Team Code. That's why they call them that. Last edited by Mark McLeod : 08-02-2011 at 21:28. |
|
#5
|
||||
|
||||
|
Re: Pneumatics Not Working
Quote:
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|