getting_started:tutorials:sequencer2
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
getting_started:tutorials:sequencer2 [2020/12/03 17:35] – [Subsequence Has Timeout Monitor] ursgraf | getting_started:tutorials:sequencer2 [2021/03/31 15:33] (current) – [Subsequence Has Timeout Monitor with Restart] ursgraf | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Example with Blocking Sequence ====== | ====== Example with Blocking Sequence ====== | ||
The following example all have a main sequence which calls a few steps and a another sequence. This second sequence is a blocking sequence. That means that the main sequence pauses while the second sequence runs. A timeout monitor either supervises the main sequence or the second sequence. | The following example all have a main sequence which calls a few steps and a another sequence. This second sequence is a blocking sequence. That means that the main sequence pauses while the second sequence runs. A timeout monitor either supervises the main sequence or the second sequence. | ||
- | ===== Main Sequence | + | ===== Main Sequence |
- | In the EEROS library you will find a directory with examples. Open a shell in the build directory of your EEROS library and run | + | In the EEROS library you will find a directory with examples. |
+ | Open a shell in the build directory of your EEROS library and run | ||
< | < | ||
$ ./ | $ ./ | ||
Line 14: | Line 15: | ||
===== Main Sequence Has Timeout Monitor ===== | ===== Main Sequence Has Timeout Monitor ===== | ||
- | A next example demonstrates what happens if the main sequence is interrupted by a monitor while a subsequence is called. Run | + | The next example |
< | < | ||
$ examples/ | $ examples/ | ||
Line 26: | Line 27: | ||
===== Main Sequence Has Timeout Monitor with Resume ===== | ===== Main Sequence Has Timeout Monitor with Resume ===== | ||
- | A next example demonstrates what happens if the main sequence is interrupted by a monitor while a subsequence is called. Run | + | The next example |
< | < | ||
$ examples/ | $ examples/ | ||
Line 38: | Line 39: | ||
===== Main Sequence Has Timeout Monitor with Restart ===== | ===== Main Sequence Has Timeout Monitor with Restart ===== | ||
- | A next example demonstrates what happens if the main sequence is interrupted by a monitor while a subsequence is called. Run | + | The next example |
< | < | ||
$ examples/ | $ examples/ | ||
Line 49: | Line 50: | ||
===== Subsequence Has Timeout Monitor ===== | ===== Subsequence Has Timeout Monitor ===== | ||
- | A next example demonstrates what happens if the subsequence is interrupted by a monitor. Run | + | The next example |
< | < | ||
$ examples/ | $ examples/ | ||
Line 61: | Line 62: | ||
===== Subsequence Has Timeout Monitor with Resume ===== | ===== Subsequence Has Timeout Monitor with Resume ===== | ||
- | A next example demonstrates what happens if the subsequence is interrupted by a monitor. Run | + | The next example |
< | < | ||
$ examples/ | $ examples/ | ||
</ | </ | ||
- | The main sequence does its steps and starts the second sequence. The timeout monitor of the subsequence fires. The monitor causes an exception sequence to run. After that the sugsequence | + | The main sequence does its steps and starts the second sequence. The timeout monitor of the subsequence fires. The monitor causes an exception sequence to run. After that the subsequence |
[{{ : | [{{ : | ||
+ | \\ | ||
+ | |||
+ | ===== Subsequence Has Timeout Monitor with Restart ===== | ||
+ | |||
+ | The next example can be found under [[https:// | ||
+ | < | ||
+ | $ examples/ | ||
+ | </ | ||
+ | |||
+ | The main sequence does its steps and starts the second sequence. The timeout monitor of the subsequence fires. The monitor causes an exception sequence to run. After that the subsequence restarts from the beginning as its timeout behavior is set to '' | ||
+ | |||
+ | [{{ : | ||
\\ | \\ | ||
getting_started/tutorials/sequencer2.1607013354.txt.gz · Last modified: 2020/12/03 17:35 by ursgraf