User Tools

Site Tools


slowcontrol:apfel_hv_pi

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
slowcontrol:apfel_hv_pi [2021/08/18 09:59] himuserslowcontrol: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,i2c_arm_baudrate=400000   dtparam=i2c_arm=on,i2c_arm_baudrate=400000
  
-== Software installation ==    +=== Software installation ===
  
   * Create a directory ''/home/pi/apfel_dev''   * Create a directory ''/home/pi/apfel_dev''
Line 40: Line 38:
  
  
-== Service scripts ==+=== Service scripts ===
  
-  * Through the aliases ''watch_hv'' and ''watch_apfel'', it is possible to see the output of the respective servers. The log files to which the servers write to are:+  * Through the aliases **''watch_hv''** and **''watch_apfel''**, it is possible to see the output of the respective servers. The log files to which the servers write to are:
  
   /home/pi/apfel_dev/hv_control/hvlog.{out,err}   /home/pi/apfel_dev/hv_control/hvlog.{out,err}
   /home/pi/apfel_dev/apfel_interface/apfellog.{out,err}   /home/pi/apfel_dev/apfel_interface/apfellog.{out,err}
  
 +  * The servers can be killed and restarted through the aliases **''start_hv''** and **''start_apfel''**.
 +  * Without arguments, the scripts check if there are running server processes and if so exit with an output like:
  
-    ~/start_hv.sh+  nof server processess: 2 
 +  n. of watch processess: 2 
 +  processes running, kill first
  
-  * If a ''file not found'' error appears, stop the script with ''^C'' and start it again   +  * To kill the processes, call the aliases with the argument ''-kill'' (e.g. ''start_hv -kill'').  
-  * APFEL server and http server start script: +  * **Only for ''start_apfel''**, it is possible to start the server with the verbose flag set by invoking the alias with ''start_apfel -v''. 
- +  
-    ~/start_apfel.sh+
      
  
slowcontrol/apfel_hv_pi.1629280757.txt.gz · Last modified: 2022/01/14 18:44 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki