Go to Post “There are two ways to compete, one is to drag your opponent down, the other is to raise the bar and excel. Which do you think is more beneficial to you in the long run?” -- John Abele - Candice.E [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 23-10-2010, 18:22
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,100
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: How do i add two "True" values

Quote:
Originally Posted by whcirobotics View Post
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!
If Mark's post was the answer you were looking for, and you want to learn more, then download this book and read chapter 7, especially the example in section 7.9



Reply With Quote
  #2   Spotlight this post!  
Unread 23-10-2010, 19:08
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 changed my code to what Mark suggested. I will try the code at school on Monday after school. If it does not work i will get back to you guys.

1514
Whcirobotics
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
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 21:14.

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