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
soft:epics [2020/09/20 13:29] Ce Zhangsoft:epics [2021/12/29 01:41] (current) – [Guide at S2] Ce Zhang
Line 1: Line 1:
 +==== Guide at S2 ====
 +{{ :soft:pictures-2021-12-29.tar.gz |}}
 +<code>
 +cd /home/mu1s2s/muminus/scripts
 +./start_epics_server.sh
 +</code>
 +epics> drvNetMpf: connected to "192.168.0.2"
 +
 +iocRun: All initialization complete
 +<code>
 +cd /home/mu1s2s/muminus/edm
 +./run_edm.sh
 +</code>
 +file - open
 +
 +2020 1s2s-2020-Cedric-HV-v2.edl
 +
 +1s2s-2020-Cedric-Vac-v2.edl
 +
 +click OK
 +
 +In the terminal, type:
 +<code>
 +cd /home/mu1s2s/CSS/cs-studio-kek
 + ./css
 +</code>
 +In the pop-up window (select workspace), use default path, do not need to change anything,  click __OK__
 +
 +Switch to __PV_monitor.opi__ window, you can monitor the voltages and currents
 +<code>
 +cd /home/mu1s2s/VacMonitor
 +python serial_plot_Cedric_USB0.py
 +</code>
 +
 +<code>
 +python serial_plot_Cedric_USB1.py
 +</code>
  
 +Then 
 ====EPICS Installation on CentOS7==== ====EPICS Installation on CentOS7====
   * CentOS Linux (3.10.0-514.el7.x86_64) 7   * CentOS Linux (3.10.0-514.el7.x86_64) 7
Line 95: Line 133:
  
 https://www.tecmint.com/install-and-configure-vnc-server-in-centos-7/ https://www.tecmint.com/install-and-configure-vnc-server-in-centos-7/
 +
 +Actual experience:
 +
 +<code>
 +$ sudo yum install tigervnc-server
 +$ su - your_user  # If you want to configure VNC server to run under this user directly from CLI without switching users from GUI
 +$ vncpasswd
 +$ cp /lib/systemd/system/vncserver@.service  /etc/systemd/system/vncserver@:1.service
 +### then in the tutorial, a large number of lines need to be input, but since there already similar lines in the copied files, Only user name need to be replaced
 +
 +$ systemctl daemon-reload
 +$ systemctl start vncserver@:1
 +$ systemctl status vncserver@:1
 +$ systemctl enable vncserver@:1
 +
 +### for different user, create different tag, @:1, @:2, ...
 +
 +$ ss -tulpn| grep vnc
 +
 +$ firewall-cmd --add-port=5901/tcp
 +$ firewall-cmd --add-port=5901/tcp --permanent
 +
 +### In the new Opera case, 5901 - 5920 has been permanently added in the firewall configuration.
 +
 +</code>
 +
 +====autosave====
 +/home/mu1s2s/muminus/configure/RELEASE
 +
 +/opt/epics/base/support/autosave-5-5/configure/RELEASE
 +
 +/home/mu1s2s/muminus/muminusApp/src/iocxxxInclude.dbd
 +
 +and Makefile 
 +
 +Follow the complete instruction on:
 +http://cerldev.kek.jp/trac/EpicsUsersJP/wiki/epics/saverestore
 +
 +==== CSS at KEK & SMBL ====
 +
 +http://www-linac.kek.jp/cont/epics/css/
 +
 +http://cs-studio.sourceforge.net/docbook/ch20.html
 +
 +https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=&cad=rja&uact=8&ved=2ahUKEwiC7dfGgJvxAhUuH7cAHXTuCckQFjAAegQIBRAD&url=http%3A%2F%2Fwww-linac.kek.jp%2Fcont%2Fepics%2Fcss%2Fcss_databrowser_kblog_usage_public.pdf&usg=AOvVaw3FYV1cr-_CWCr3QJSGdGxE
 +
 +css epics log
 +
 +epics CSS Message History Browser
 +
 +{{ :soft:pictures-21-06-16.tar.gz |}}
 +
 +==== Python series communication ====
 +
 +https://askubuntu.com/questions/398941/find-which-tty-device-connected-over-usb