View Single Post
  #14   Spotlight this post!  
Unread 02-04-2014, 19:59
apalrd's Avatar
apalrd apalrd is offline
More Torque!
AKA: Andrew Palardy (Most people call me Palardy)
VRC #3333
Team Role: College Student
 
Join Date: Mar 2009
Rookie Year: 2009
Location: Auburn Hills, MI
Posts: 1,347
apalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond repute
Re: Labview disabled compressor runs *AT REGIONAL IN MATCH 1 TOMMOROW*

Quote:
Originally Posted by NotInControl View Post
Also this is dependant upon where you start your compressor code from. If you start the compressor call in robot init, it has the potential to run during disabled.
This is not exactly true.

All of the outputs (PWM and Relay) are disabled in hardware when the robot is disabled. Even if you try to set them (there's no harm in setting them continuously while disabled), they will not be set because of the disable circuit.

However, there are some cases where the buffers for the relay outputs can fail in such a way that they ignore the disable circuit but otherwise work fine.

Running code while disabled can also help with troubleshooting code, as you can look at what it is trying to do without letting it do it.
__________________
Kettering University - Computer Engineering
Kettering Motorsports
Williams International - Commercial Engines - Controls and Accessories
FRC 33 - The Killer Bees - 2009-2012 Student, 2013-2014 Advisor
VEX IQ 3333 - The Bumble Bees - 2014+ Mentor

"Sometimes, the elegant implementation is a function. Not a method. Not a class. Not a framework. Just a function." ~ John Carmack