logical conditions, more than 2 conditions
- gilliam
-
Topic Author
- Offline
- Junior Member
-
- DS-12
- Posts: 22
- Thank you received: 10
TPL_KUNENA_MESSAGE_CREATED logical conditions, more than 2 conditions
25 Dec 2020 09:51
Hello,
under logical conditions, it would be nice to be able to use more than 2 conditions to get a result.
THANK YOU
under logical conditions, it would be nice to be able to use more than 2 conditions to get a result.
THANK YOU
Please Log in or Create an account to join the conversation.
- Jürgen
-
- Offline
- Moderator
-
- Posts: 4296
- Thank you received: 2104
TPL_KUNENA_MESSAGE_REPLIED_NEW logical conditions, more than 2 conditions
25 Dec 2020 10:24
actually it works now, you just have to nest it. If the operation is fulfilled, I trigger the next logical switch.
Gruß
Jürgen
the master of the Desaster
Jürgen
the master of the Desaster
The following user(s) said Thank You: gilliam
Please Log in or Create an account to join the conversation.
- abief
-
- Offline
- Premium Member
-
- I'm here, there and elsewhere!
- Posts: 95
- Thank you received: 19
TPL_KUNENA_MESSAGE_REPLIED_NEW logical conditions, more than 2 conditions
25 Dec 2020 19:12 - 25 Dec 2020 19:16
logical operators are, by definition, binary or unitary. The classical definitions are AND, OR and NOT, sometimes expanded to XOR (as done by Jeti).
AND requires both values need to be true, i.e. TRUE AND TRUE returns TRUE, and all other combinations return FALSE
OR requires only one value to be true, i..e. FALSE OR FALSE returns FALSE, and all other combinations return TRUE
NOT negates the value, i.e. NOT TRUE is FALSE
XOR requires only one value to be true, i.e. TRUE XOR TRUE will return FALSE, as it would do FALSE XOR FALSE.
to combine different logical operators, what you need to do is combine the result of one logical condition with a second logical condition. As an example:
let's assume you want a condition where Sa, Sb, Sc and Sd are all TRUE: then you need to configure L1 is Sa AND Sb, if you want to combine with Sc, then L2 as L1 AND Sc, and then L3 as L2 AND Sd.
Hope it helps.
AND requires both values need to be true, i.e. TRUE AND TRUE returns TRUE, and all other combinations return FALSE
OR requires only one value to be true, i..e. FALSE OR FALSE returns FALSE, and all other combinations return TRUE
NOT negates the value, i.e. NOT TRUE is FALSE
XOR requires only one value to be true, i.e. TRUE XOR TRUE will return FALSE, as it would do FALSE XOR FALSE.
to combine different logical operators, what you need to do is combine the result of one logical condition with a second logical condition. As an example:
let's assume you want a condition where Sa, Sb, Sc and Sd are all TRUE: then you need to configure L1 is Sa AND Sb, if you want to combine with Sc, then L2 as L1 AND Sc, and then L3 as L2 AND Sd.
Hope it helps.
Field ready: Taborca (3.4m), Ocelot (1.6m), Alula (0.6m).
Factory line: FVT-3 (1m), A6M Zero (1.6m), Tiger Moth (2.2m), Grumann Goose (2m) and Beechcraft D18 (1.5m).
Design phase: Szd-20x Wampir II (7.5m), Rutan Quickie (1.6m), both parked.
Dreaming: Weird push-pull called Double Trouble (2.4m)
Factory line: FVT-3 (1m), A6M Zero (1.6m), Tiger Moth (2.2m), Grumann Goose (2m) and Beechcraft D18 (1.5m).
Design phase: Szd-20x Wampir II (7.5m), Rutan Quickie (1.6m), both parked.
Dreaming: Weird push-pull called Double Trouble (2.4m)
Last edit: 25 Dec 2020 19:16 by abief.
The following user(s) said Thank You: gilliam
Please Log in or Create an account to join the conversation.
- gilliam
-
Topic Author
- Offline
- Junior Member
-
- DS-12
- Posts: 22
- Thank you received: 10
TPL_KUNENA_MESSAGE_REPLIED_NEW logical conditions, more than 2 conditions
26 Dec 2020 08:04
thank you for the explanations, it seemed easier to me to have a combination with at least 3 conditions instead of writing them two by two, good flights in 2021.
Please Log in or Create an account to join the conversation.
Time to create page: 0.323 seconds