Go to Post Everyone has regrets in robotics- it's how you learn from them that makes all the difference. - Kevin Leonard [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 29-01-2009, 23:05
starsROBOTICS starsROBOTICS is offline
Registered User
FRC #2276 (S.T.A.R.S)
Team Role: Engineer
 
Join Date: Mar 2008
Rookie Year: 2006
Location: texas, houston
Posts: 44
starsROBOTICS is on a distinguished road
Re: 2 Joysticks, 2 Triggers, 1 relay, 1 problem

Quote:
Originally Posted by Burmeister #279 View Post
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
Dude not to be rude but you need to better explain things. That was the most confusing thing i read all day.
__________________
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
spike relay problem? Maxpower57 Electrical 15 09-04-2012 19:18
[OCCRA]: Problem with the compressor, pressure switch, or Bosch relay. BrittanyV OCCRA 3 16-10-2006 15:42
Joystick Triggers No Longer Work amateurrobotguy Technical Discussion 7 04-04-2006 13:58
Help! Programming question with triggers AsimC Programming 26 18-03-2004 11:00
AVB joysticks..and other analogue joysticks tml240 Kit & Additional Hardware 6 07-02-2004 12:45


All times are GMT -5. The time now is 22:47.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi