kitControl-Xor

This component performs a logical XOR on all valid inputs and writes the result to the Out property.

Xor is available in the Logic folder of the kitControl palette.

This table shows the Xor object truth table when using two inputs (typical).

This table shows the Xor object truth table if using all four inputs. EQUIV gate logic is accomplished by linking to a Not object.

Figure 1. Xor object truth table (two inputs)
In A In B Out
false false false
false true true
true false true
true true false
Figure 2. Xor object truth table (four inputs)
In A In B In C In D Out
false false false false false
false false false true true
false false true false true
false false true true false
false true false false true
false true false true false
false true true false false
false true true true true
true false false false true
true false false true false
true false true false false
true false true true true
true true false false false
true true false true true
true true true false true
true true true true false
Figure 3. Xor properties


PropertyValueDescription
FacetsConfig Facets window (defaults to true and false)

Defines the text to display for each Boolean value.

trueText configures the text to describe the state when component returns true.

falseText configures the text to describe the state when component returns false.

Outread-only true or falseDisplays the result of the comparison.
In A through In DStatusBoolean true or false and null definitionProvides the input values for the comparison.