kitControl-And

This component performs a logical AND on all inputs and writes the result to the out property.

kitControl-And is available in the Logic folder of the kitControl palette.

Figure 68.   Logical And with two inputs
Image

The minimum number of valid inputs for the AND logic object is one. A valid value is one that is “non-null”. In the unique case of only one valid input, the value of the input is passed directly to the output during calculation. The following shows the AND object truth table when using two inputs.

In A In B Out
false false false
false true false
true false false
true true true

This table shows the object truth using four inputs:

Figure 69.   Logical And with four inputs
Image
In A In B In C In D Out
false false false false false
false false false true false
false false true false false
false false true true false
false true false false false
false true false true false
false true true false false
false true true true false
true false false false false
true false false true false
true false true false false
true false true true false
true true false false false
true true false true false
true true true false false
true true true true true
Figure 70.   And properties
Image
Property Value Description
Facets Config Facets window (defaults to true and false)

Defines the text to display for each Boolean value.

trueText configures to the text to describe the state when the component returnstrue

falseText configures to the text to describe the state when the component returnsfalse

Out read-only true or false Displays the result of the And operation.
In A through In D StatusBoolean true or false and null definition Provides the input values for the And operation.