Go to Post I <3 statistics. - Barry Bonzack [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

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #6   Spotlight this post!  
Unread 23-10-2010, 15:05
whcirobotics's Avatar
whcirobotics whcirobotics is offline
Registered User
FRC #1514 (Vikings)
 
Join Date: Nov 2008
Rookie Year: 2009
Location: WHCI
Posts: 174
whcirobotics is an unknown quantity at this point
Re: How do i add two "True" values

I have tried to make the kicker by the state machine way,, with the Enums and everything. But it was a lot of case structures. i made it worked with just 3 if statements so that is not my problem.

But what is my problem is that i want it to kick when (2) values of 2 switches is true. I did it by adding another Case structure in autonomus over the two "True" cases and did the solenoid extend and retract.

I am asking if there is a better way > to do this. Like a ( + ) that adds the true values. maybe? i have written the code and posted it,, in my attachments above. If you know a way to do this tell me!

1514
Whcirobotics
Reply With Quote
 


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
cRIO "Magic" Values: Unresponsive Driver Station KRV NI LabVIEW 0 13-02-2009 17:33
"You've Been Sentenced" Robotics Add-On Deck Featured at the Duel on the Delaware Mr MOE General Forum 0 02-10-2008 07:32
Cannot access "double" values chantilly_team Programming 14 06-02-2005 13:39
Is the "Confirmed Game Information" rumor true? MJAdams Rumor Mill 8 02-01-2003 22:41
how tall is the ramp when in "up" and "balanced" position??? archiver 2001 1 24-06-2002 00:54


All times are GMT -5. The time now is 10:07.

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