View Single Post
  #3   Spotlight this post!  
Unread 26-02-2010, 15:22
kavisiegel kavisiegel is offline
Registered User
FRC #0061 (The Shifters)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2009
Location: Milford MA
Posts: 37
kavisiegel is an unknown quantity at this point
Re: 0 = 1, but 1 = 1 as well?

Quote:
Originally Posted by Egg 3141592654 View Post
so a day before the robot shipped i went to do a final diagnostic on the robot to make sure that everything that was plugged in worked. Our team has 3 solenoids labeled in labview 1, 2, 3 respectively (see picture if needed). I know that 1 = 0 and 2 = 1 etc. however, lately 1 would trigger 1 on the cRio (not 0), and 2 would trigger 2 (not 1). I have neither an idea on what to do, nor an idea of how to fix this.

PS, when debugging, does light on = true or false? I assume that on = true.
There shouldn't be a solenoid zero. The solenoid numbers in LabVIEW are directly allocated to the labeled slots in the cRIO Pneumatics Bumper.. which is 1-8.

Most of the time, counting starts at zero, but in this specific case... one is one, and two is two... etc.

Also, yes, true means it's on or open.
__________________
www.team61.com
Reply With Quote