View Single Post
  #3   Spotlight this post!  
Unread 29-01-2009, 22:06
Burmeister #279's Avatar
Burmeister #279 Burmeister #279 is offline
What Time Is It?
AKA: Nick Burmeister
FRC #0279 (TechFusion)
Team Role: Programmer
 
Join Date: Nov 2008
Rookie Year: 2007
Location: Toledo
Posts: 207
Burmeister #279 is a glorious beacon of lightBurmeister #279 is a glorious beacon of lightBurmeister #279 is a glorious beacon of lightBurmeister #279 is a glorious beacon of lightBurmeister #279 is a glorious beacon of lightBurmeister #279 is a glorious beacon of light
Send a message via AIM to Burmeister #279
Re: 2 Joysticks, 2 Triggers, 1 relay, 1 problem

i'm not sure if this is the actual problem, and as i don't have labview on this computer, i have no screen shots, however, there might be a problem if it's confusing itself due to both being pressed. if you have a case structure around the entire area where you deal with the buttons, and then wire an XOR gate [Boolean pallet] into the case selector, and both buttons into the XOR. this will eliminate any problems with both buttons being pressed. after that, in the true portion of the case, have a second case structure to find the state of the first button. if it's true, then set the value of the relay you are changing, if it is false, use another case structure inside of the false case of the previous one to check for the second button.

AIM: Burmeister 279

I changed my mind and my computer and here's my example of what to do. the XOR is a special logic gate that makes only lets it work if one and ONLY one input is true.

need any more help : burmeister.twosevennine@gmail.com subject: programming help
Attached Files
File Type: vi relay help.vi (17.8 KB, 31 views)
__________________
WHAT TIME IS IT? TWO SEVEN NINE!!! [Team B =) ] Awards: 4 Safety, 2 Ind. Design, 2 Xerox, 1 Nat. Champs
2009 Buckeye Semi-Finalists (1014 & 695) || 2008 GLR Safety Award || 2006 GLR Safety Award
2005 Buckeye Regional Champs (67 & 274) & GM Industrial Design Award & Safety Award GLR Quarter Finalist & Xerox Creativity Award & Safety Award National Xerox Creativity Award & Curie Quarter Finalist (1126 & 180)
2004 Buckeye Delphi Driving Tomorrows Technology Award & Quarter Finalist GLR Champs Nationals Curie Division Finalist
2003 GLR GM Industrial Design Award || 2001 National Newton Division Winner & National Champions
2000 MI DaimlerChrysler Team Spirit Award

Last edited by Burmeister #279 : 29-01-2009 at 22:46.
Reply With Quote