getting_started:tutorials:hal1
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:hal1 [2017/05/08 13:26] – graf | getting_started:tutorials:hal1 [2021/03/31 16:34] – ursgraf | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Using the HAL with comedi or flink ====== | ====== Using the HAL with comedi or flink ====== | ||
- | 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 '' | ||
< | < | ||
$ ./halTest2 -c HalTest2ConfigComedi.json | $ ./halTest2 -c HalTest2ConfigComedi.json | ||
Line 6: | Line 8: | ||
</ | </ | ||
This examples creates a small control system with a couple of peripheral input and output blocks. | This examples creates a small control system with a couple of peripheral input and output blocks. | ||
- | The main sequence alters the values on digital and analog outputs periodically. | + | The main sequence alters the values on digital and analog outputs periodically. |
- | * The state on the digital output 0 is reflected by the simultor to the digital input 0. The control system connects this input to the digital output 1, which in turn is reflected by the simulator to digital input 1. However, the second reflection is '' | + | |
- | * A constant value is output to analog output 0 and 2. These values change every 10 seconds. Both are reflected onto analog inputs 0 and 2. | + |
getting_started/tutorials/hal1.txt · Last modified: 2021/03/31 16:35 by ursgraf