View Single Post
  #4   Spotlight this post!  
Unread 11-04-2009, 22:53
Steve_Alaniz Steve_Alaniz is offline
Registered User
FRC #2848 (All Sparks)
Team Role: Mentor
 
Join Date: Mar 2007
Rookie Year: 1997
Location: Dallas
Posts: 211
Steve_Alaniz has a reputation beyond reputeSteve_Alaniz has a reputation beyond reputeSteve_Alaniz has a reputation beyond reputeSteve_Alaniz has a reputation beyond reputeSteve_Alaniz has a reputation beyond reputeSteve_Alaniz has a reputation beyond reputeSteve_Alaniz has a reputation beyond reputeSteve_Alaniz has a reputation beyond reputeSteve_Alaniz has a reputation beyond reputeSteve_Alaniz has a reputation beyond reputeSteve_Alaniz has a reputation beyond repute
Re: Programming drivers station digital outputs

Thanks for the suggestions. We found the problem(s)... The help definition of set digital output for the drivers station doesn't mention that you need to input using an array or you get conflicts because the unaddressed outputs are reset.
Additionally using the AND function with numbers returns the anded number. Even though it is a non zero, it will not correctly trigger TRUE for an IF statement. You have to use a "greater than zero" before feeding into the IF statement to get a proper decision from the statement.
This may be documented somewhere but I missed it. Anyway, that was the problem.

Steve