View Single Post
  #8   Spotlight this post!  
Unread 25-02-2010, 22:29
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,795
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: solenoid and compressor code

Arcade has nothing to do with the compressor. That's going to be something else.

What's the highest pressure the gauge reads?
It should turn off when the pressure reaches 120psi.

The pressure switch tells the code when to turn the compressor on and when to turn it off. You can verify correct compressor operation by:
  • Disconnecting one of the wires from the pressure switch - the compressor should turn off.
  • Touch the loose wire directly to the other wire that's still connected and the compressor should come on.
In Begin.vi you specified where the pressure switch is plugged in as well as where the compressor Relay is plugged in. Verify that both are in the right spots. If you used the default values those will be:
  • Pressure Switch = Digital IO #1
  • Compressor Spike = Relay #1
The Start does the actual constant checking of the pressure switch. You can double click on that icon to drill down and see how it works.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote