slowcontrol:apfel_hv_pi
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
slowcontrol:apfel_hv_pi [2021/08/18 09:48] – himuser | slowcontrol:apfel_hv_pi [2022/01/14 18:44] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 3: | Line 3: | ||
Stand: 18/8/2021 | Stand: 18/8/2021 | ||
- | === Raspberry Pi Set up === | + | === Configuration |
- | + | ||
- | == Configuration | + | |
* Start with a raspbian image | * Start with a raspbian image | ||
Line 15: | Line 13: | ||
dtparam=i2c_arm=on, | dtparam=i2c_arm=on, | ||
- | == Software installation == | + | === Software installation === |
* Create a directory ''/ | * Create a directory ''/ | ||
Line 27: | Line 25: | ||
/ | / | ||
+ | * Add the following lines to ''/ | ||
- | == Service scripts | + | HVDIR=$HOME/ |
+ | APFELDIR=$HOME/ | ||
+ | |||
+ | alias watch_hv=' | ||
+ | alias start_hv=' | ||
+ | alias watch_apfel=' | ||
+ | alias start_apfel=' | ||
- | ~/start_hv.sh | + | * Reboot the pi to see if everything worked. On startup, the APFEL and HV control programs should be started |
- | * If a '' | ||
- | * APFEL server and http server start script: | ||
- | ~/ | + | === Service scripts === |
+ | |||
+ | * Through the aliases **'' | ||
+ | |||
+ | | ||
+ | / | ||
+ | |||
+ | * The servers can be killed and restarted through the aliases **'' | ||
+ | * Without arguments, the scripts check if there are running server processes and if so exit with an output like: | ||
+ | |||
+ | n. of server processess: 2 | ||
+ | n. of watch processess: 2 | ||
+ | processes running, kill first | ||
+ | |||
+ | * To kill the processes, call the aliases with the argument '' | ||
+ | * **Only for '' | ||
| | ||
- | Note: for now use the pi only locally with keyboard and monitor... | + |
slowcontrol/apfel_hv_pi.1629280103.txt.gz · Last modified: 2022/01/14 18:44 (external edit)