Gate
The Gate can perform logical operations on Boolean inputs.
Details
![Gate.PNG](/wiki/snapwiki/download/Doom/Gate/WebHome/Gate.PNG?rev=1.2) | Object: Gate
Category: Flow
|
INPUTS |
---|
![Test.png](/wiki/snapwiki/download/Doom/Gate/WebHome/Test.png?width=64&rev=1.2) | Test Gate | Compare Boolean A to Boolean B. Any outputs will send a signal depending on the result. |
![SetA.png](/wiki/snapwiki/download/Doom/Gate/WebHome/SetA.png?width=64&rev=1.2) | Set A | Set the first Boolean value as specified in the input's properties. |
![SetB.png](/wiki/snapwiki/download/Doom/Gate/WebHome/SetB.png?width=64&rev=1.2) | Set B | Set the second Boolean value as specified in the input's properties. |
Outputs
OUTPUTS |
---|
![AND.png](/wiki/snapwiki/download/Doom/Gate/WebHome/AND.png?width=64&rev=1.2) | AND | When tested, if both A and B are true, send the signal. The activator is unchanged from the input signal. |
![NAND.png](/wiki/snapwiki/download/Doom/Gate/WebHome/NAND.png?width=64&rev=1.2) | NAND | When tested, if A and B are not both true, send the signal. The activator is unchanged from the input signal. |
![OR.png](/wiki/snapwiki/download/Doom/Gate/WebHome/OR.png?width=64&rev=1.2) | OR | When tested, if A or B is true, send the signal. The activator is unchanged from the input signal. |
![NOR.png](/wiki/snapwiki/download/Doom/Gate/WebHome/NOR.png?width=64&rev=1.2) | NOR | When tested, if neither A nor B are true, send the signal. The activator is unchanged from the input signal. |
![XOR.png](/wiki/snapwiki/download/Doom/Gate/WebHome/XOR.png?width=64&rev=1.2) | XOR | When tested, if only one of A or B is true, send the signal. The activator is unchanged from the input signal. |
![XNOR.png](/wiki/snapwiki/download/Doom/Gate/WebHome/XNOR.png?width=64&rev=1.2) | XNOR | When tested, if A and B are both true or both false, send the signal. The activator is unchanged from the input signal. |
Properties
PROPERTIES |
---|
Property | Type | Description |
Name | String | The name of this object. Rename an object to make it easy to identify. |
A | Boolean | The first Boolean value. Can be fixed or variable. |
B | Boolean | The second Boolean value. Can be fixed or variable. |