View Single Post
  #2   Spotlight this post!  
Unread 30-01-2010, 18:46
basicxman basicxman is offline
Emily Horsman
FRC #2200 (MMRambotics)
Team Role: Programmer
 
Join Date: Oct 2007
Rookie Year: 2007
Location: Burlington, Ontario
Posts: 971
basicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant future
Send a message via AIM to basicxman Send a message via MSN to basicxman Send a message via Yahoo to basicxman
Re: Best way to check multiple Boolean values?

In C++ you could do

Code:
if (joystick.GetRawButton(1) && joystick.GetRawButton(2)) {

}
Valid boolean operators are || (or) and && (and). I'm not sure how LabVIEW processes these but I'm sure there's a boolean conditional in LabView.
Reply With Quote