e.g. 'Expression1' AND 'Expression2'
|
AND |
Logical AND |
|
OR |
Logical OR |
|
XOR |
Logical exclusive OR |
|
NOT |
Logical NOT, negation |
Description
You can link binary expressions, such as digital signals, with each other using the Boolean functions AND, OR, NOT and XOR. As parameters, you can enter digital signals, calculated (binary) expressions or the numerical values 0 or 1.
According to the rules of Boolean logic, the functions return the value TRUE or FALSE. You can present and evaluate the result as a new expression like a signal. This way, you can easily generate binary signals and use them then as conditions for other functions.
Logical functions, truth table:
|
A |
B |
A AND B |
A OR B |
A XOR B |
NOT A |
|---|---|---|---|---|---|
|
0 |
0 |
0 |
0 |
0 |
1 |
|
1 |
0 |
0 |
1 |
1 |
0 |
|
0 |
1 |
0 |
1 |
1 |
|
|
1 |
1 |
1 |
1 |
0 |