getting_started:tutorials:sequencer3
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
getting_started:tutorials:sequencer3 [2020/12/03 19:13] – [Main Sequence Has Timeout Monitor] ursgraf | getting_started:tutorials:sequencer3 [2021/03/31 15:39] – [Subsequence Has Timeout Monitor With Resume] ursgraf | ||
---|---|---|---|
Line 4: | Line 4: | ||
===== Main Sequence Calls Nonblocking Sequence ===== | ===== Main Sequence Calls Nonblocking 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 29: | Line 31: | ||
===== 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 36: | Line 38: | ||
The main sequence does three steps and starts the second sequence. The timeout monitor of the main sequence fires while the second sequence still runs. The monitor causes an exception sequence to run. After that the main sequence terminates immediately as the timeout behavior is set to '' | The main sequence does three steps and starts the second sequence. The timeout monitor of the main sequence fires while the second sequence still runs. The monitor causes an exception sequence to run. After that the main sequence terminates immediately as the timeout behavior is set to '' | ||
- | [{{ : | + | [{{ : |
\\ | \\ | ||
===== 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/ | ||
</ | </ | ||
- | The main sequence does three steps and starts the second sequence. The timeout monitor of the main sequence fires while the second sequence still runs. The monitor causes an exception sequence to run. After that the main sequence | + | The main sequence does three steps and starts the second sequence. The timeout monitor of the main sequence fires while the second sequence still runs. The monitor causes an exception sequence to run. After that the main sequence |
- | [{{ : | + | [{{ : |
\\ | \\ | ||
- | ====== Example with several Monitors ====== | ||
- | it will run in parallel. '' | + | ===== Main Sequence |
- | [{{ .:sequencerexample2.png?550 | //Flow of SequencerTest2// }}] | + | The next example is [[https://github.com/eeros-project/eeros-framework/blob/master/ |
+ | < | ||
+ | $ examples/ | ||
+ | </ | ||
- | The main sequences | + | The main sequence does three steps and starts the second sequence. The timeout monitor |
+ | [{{ : | ||
+ | \\ | ||
- | ===== Sequence with two Monitors | + | ===== Subsequence Has Timeout Monitor |
- | In the EEROS library you will find a directory with examples. | + | The next example is [[https:// |
+ | < | ||
+ | $ examples/ | ||
+ | </ | ||
- | [{{ .: | + | The main sequence does three steps and starts the second sequence. The timeout monitor |
- | This example shows a sequence with two associated monitors. The '' | + | [{{ : |
+ | \\ | ||
- | ==== Altering the Monitor | + | ===== Subsequence Has Timeout |
- | Change the behavior of '' | + | |
- | If you change the behavior of the timeout monitor to '' | + | |
- | ===== Monitor Checking two Sequences ===== | + | The next example is [[https:// |
+ | < | ||
+ | $ examples/ | ||
+ | </ | ||
- | A next example demonstrates what happens if the same monitor | + | The main sequence does three steps and starts |
- | [{{ .:sequencerexample5.png?550 | //Flow of SequencerTest5// }}] | + | [{{ :getting_started: |
+ | \\ | ||
+ | |||
+ | ===== Subsequence Has Timeout Monitor With Restart ===== | ||
+ | |||
+ | A next example demonstrates what happens if the subsequence is interrupted by a monitor while being called from the main sequence. Run | ||
+ | < | ||
+ | $ examples/ | ||
+ | </ | ||
+ | |||
+ | The main sequence does three steps and starts the second sequence. The timeout monitor | ||
+ | |||
+ | [{{ : | ||
+ | \\ | ||
- | The '' | ||
getting_started/tutorials/sequencer3.txt · Last modified: 2021/03/31 15:39 by ursgraf