|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
Re: How do i add two "True" values
For cases like these, where you have several boolean values that are used in evaluating for several situations, I use what I call a boolean state table to represent the desired functionality.
Here's a screenshot from my old software development guide: ![]() The example this was for had a left and right drive control for inputs 1 and 2, bumper switches on 3 and 4, and an "auto navigation" toggle on input 5. One way of coding this is to take each row and evaluate it with boolean logic, then bundle the results into a boolean array. With the boolean array you can use the following code: ![]() |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
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 |