Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
eyes:flowcontrol:bypass [2018/01/17 13:37] sfiedle [Example] |
eyes:flowcontrol:bypass [2018/01/22 14:48] (current) sfiedle [Example] |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Bypass ====== | ====== Bypass ====== | ||
- | Bypass is used to trigger inputs for logics within a [[eyes:flowcontrol:queue|]] which come from logics outside a [[eyes:flowcontrol:group|]]. | + | Bypass is used to trigger the I/O for a logic within a [[eyes:flowcontrol:queue|]] which was produced by a logic outside a [[eyes:flowcontrol:group|]]. |
===== Usage ===== | ===== Usage ===== | ||
- | In order to use the output of a logic, which is not created within the run of a Queue, Bypass will trigger this output to be fetched again. Therefore, the I/O of the Queue is connected with the first input of the Bypass and the I/O of the needed logic is linked to the second input of Bypass. Then the first input of Bypass, which came from the last logic in the Queue, will be discarded. | + | In order to use the output of a logic, which is not created within the run of a [[eyes:flowcontrol:queue|Queue]], Bypass will trigger this I/O to be fetched every time Bypass is activated. The I/O of the Queue is connected with the upper input of the Bypass element and the I/O of the required logic is linked to the second input of the element. Then the first input will be discarded. |
===== Example ==== | ===== Example ==== | ||
{{ :eyes:flowcontrol:bypass.png?nolink&800 |}} | {{ :eyes:flowcontrol:bypass.png?nolink&800 |}} | ||
+ | **Properties Window** | ||
|< 100% 5% 30% >| | |< 100% 5% 30% >| | ||
^ ^ ^ ^ | ^ ^ ^ ^ | ||
- | |{{:eyes:flowcontrol:a.png?nolink&50 |}}| |The Bypass element is connected with the I/O from the logic [[eyes:logics:import|]], which passes this to the logic [[eyes:logics:arithmeticswithtwoimages|]]. This element discards the I/O coming from the [[eyes:flowcontrol:queue|]].| | + | |{{:eyes:flowcontrol:a.png?nolink&40 |}}| |The Bypass element is connected with the I/O from the logic [[eyes:logics:import|]] and the I/O coming from the [[eyes:flowcontrol:queue|]]. The first input of the element is discarded. The second input of the element is passed to the logic [[eyes:logics:boxmanipulation|]]. Each iteration Bypass is triggered and the input for [[eyes:logics:boxmanipulation|]] comes from the logic [[eyes:logics:import|]].| |
- | |{{:eyes:flowcontrol:b.png?nolink&50 |}}|{{:eyes:flowcontrol:bypassqueque.png?nolink |}}|The [[eyes:flowcontrol:queue|]] is used to rerun the the logic [[eyes:logics:arithmeticswithtwoimages|]] with one I/O from the queue and one I/O from the logic [[eyes:logics:import|]].| | + | |{{:eyes:flowcontrol:b.png?nolink&40 |}}|{{:eyes:flowcontrol:bypassqueque.png?nolink&800 |}}|The [[eyes:flowcontrol:queue|]] is used to rerun the Bypass element and the logic [[eyes:logics:boxmanipulation|]] for three iteration cycles.| |
===== Parameters and I/O ==== | ===== Parameters and I/O ==== |