getting_started:tutorials:system2
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
getting_started:tutorials:system2 [2020/12/03 08:54] – [Example with a More Complex Safety System] ursgraf | getting_started:tutorials:system2 [2021/03/31 14:00] (current) – ursgraf | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Example with a More Complex Safety System ====== | ====== Example with a More Complex Safety System ====== | ||
- | This example shows how to use the safety system. It further uses two inputs and two outputs. For this reason we will use the simulator again, see [[getting_started: | + | This example shows how to use the safety system. It further uses two inputs and two outputs. For this reason we will use the simulator again, see [[getting_started: |
+ | |||
+ | In the EEROS library you will find a directory with examples. | ||
+ | |||
+ | Open a shell in the build directory of your EEROS library and run | ||
< | < | ||
- | $ sudo LD_LIBRARY_PATH=/ | + | $ sudo LD_LIBRARY_PATH=/ |
</ | </ | ||
+ | |||
+ | IMPORTANT You have to run a program using real time threads with root privileges and you have to set your library path so that the simulator library can be found, see [[getting_started: | ||
The example comprises a safety system with five different safety levels and six safety events. | The example comprises a safety system with five different safety levels and six safety events. | ||
- | {{ : | + | {{ : |
The levels and events are defined in the safety properties. The properties further include one critical input '' | The levels and events are defined in the safety properties. The properties further include one critical input '' | ||
The following events are defined and used in the example: | The following events are defined and used in the example: |
getting_started/tutorials/system2.1606982096.txt.gz · Last modified: 2020/12/03 08:54 by ursgraf