__header__
The Conditional tool will run a single sequence from a set of sequences based on predefined conditions.
Using the Conditional Tool
Drag the "Programs" object from the ROT onto the "Step1" section on the Conditional tool's inputs
page. Use the dropdown menu to select a sequence to run. To
setup additional sequences drag the "Programs" object onto the other
"Step" sections and select more sequences.
Once the sequences have been set in the inputs page use the parameters page to setup how the sequences will run.
TimeOut
is how long the tool will wait, in milliseconds, for the Expressions to
become true. If none of the Expressions become true in the
alloted time then the tool will not run any of the sequences.
If available, the Number sets the number of sequences that should be scanned. If Number is set to 3 then the only Expressions that will run will be the Expressions 1-3.
The Expressions
correspond to the "Step" areas on the inputs page. Expression1
governs Step1, etc. The user will define expressions in the
Expressions areas. For example, Expression1 could be set to
"Aux1=on". As long as Aux1 is off the sequence in Step1 will not
run. As soon as Aux1 turns on then the sequence in Step1 will
run. The Expression could be set to a mathematical formula as well, using the parse tool to create a string.
The Conditional tool is designed to run a single
sequence, i.e., it will only run the first expression to become true.
If several expressions are true it will only run the expression
with the lowest number.
__footer__
__footer__