View Single Post
  #2   Spotlight this post!  
Unread 04-03-2013, 00:15
RufflesRidge RufflesRidge is offline
Registered User
no team
 
Join Date: Jan 2012
Location: USA
Posts: 989
RufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant future
Re: Detecting connection to FMS

The Compressor Open VI has no way of knowing whether the relay and Digital Input are plugged in. You will see no errors from WPILib when they are unplugged that do not appear when they are plugged in. I highly recommend not adding unnecessary complexity to the code.

When the Pressure Switch is not plugged in the Compressor Relay will never be turned on.
Reply With Quote