BoolArithmetic¶
- MLModule¶
author
package
dll
definition
keywords
Purpose¶
The module BoolArithmetic computes simple boolean operations.
Usage¶
Select the desired operation and mark the boolean input fields.
Details¶
Depending on the given input values, corresponding boolean output values are being computed.
The following table gives an overview over the given boolean operations:
Operation |
Input Bool A |
Input Bool B |
Output Bool C |
|---|---|---|---|
Identity |
A |
– |
A |
Negation |
A |
– |
-A |
And |
A |
B |
A and B |
Or |
A |
B |
A or B |
Xor |
A |
B |
A xor B |
Equal |
A |
B |
A == B |
Implication |
A |
B |
A –> B |
Windows¶
Default Panel¶
Parameter Fields¶
Field Index¶
|
|
|
|
|
|
|
|
Visible Fields¶
Bool A¶
- name: inputBool1, type: Bool, default: FALSE¶
Sets the first input boolean value.
Bool B¶
- name: inputBool2, type: Bool, default: FALSE¶
Sets the second input boolean value.
Bool C¶
- name: outputBool, type: Bool, persistent: no¶
Shows the result of the boolean operation.
Bool !C¶
- name: negatedOutputBool, type: Bool, persistent: no¶
Shows the inverse of the result of the boolean operation.
Int. Value¶
- name: outputInt, type: Integer, persistent: no¶
Shows the result of the boolean operation as an integer.
0 means false and 1 means true.
Operation¶
- name: operation, type: Enum, default: Identity¶
Defines the boolean operation applied to
Bool A(and optionallyBool B).
Values:
Title |
Name |
|---|---|
Identity |
Identity |
Negation |
Negation |
And |
And |
Or |
Or |
Xor |
Xor |
Equal |
Equal |
Implication |
Implication |
Changed to true: []¶
- name: outputChangedToTrue, type: Trigger, persistent: no¶
This field is touched when the output value changes from false to true. You can connect this to other notifications fields.
Changed to false: []¶
- name: outputChangedToFalse, type: Trigger, persistent: no¶
This field is touched when the output value changes from true to false. You can connect this to other notifications fields.