View Single Post
  #4   Spotlight this post!  
Unread 15-02-2013, 18:57
DonRotolo's Avatar
DonRotolo DonRotolo is offline
Back to humble
FRC #0832
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Atlanta GA
Posts: 7,011
DonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond repute
Re: Compressor Issue

Quote:
Originally Posted by midway78224 View Post
The light on the spike goes green then orange green then orange all the way up to 120 psi. Same thing on digital sidecar
Quote:
Originally Posted by midway78224 View Post
We also done the short out test to the pressure switch with a screwdriver and it works but does the same thing as if it was shorted out.
The sidecar light says the code is turning the compressor on and off. It is not a problem between the cRio and compressor.
The shorted switch test shows that the switch is not "bouncing" as suggested by Vikingtech2054. Verify wiring is OK by shorting the pins at the Digital Sidecar. If you get the same behavior, the problem is not between the switch and the digital sidecar.

Check (replace) the 37-pin cable between sidecar and cRio. If this is OK, then the issue must be in the cRio

This would mean, 99.999%, that it is your code that is turning the compressor on and off until it reaches 120, which then shuts it off properly.

Try the sample code Jon Stratis suggested, or write your own, but your code is the issue.

It is much less than 0.001% chance, but the cRio or digital module can be bad, but this is extraordinarily rare.

That covers 100% of the possible failure scenarios.
__________________

I am N2IRZ - What's your callsign?