= Vacuum System Migration = <> == Migration from RaspberryPi to MOXA/Saba-taro == === Procedures === 1. Stop Raspberry Pi DAQ (comment out CC10.py) on crontab@k1script1 {{{ controls@k1script1:~$ crontab -e # * * * * * /users/DAQ/EpicsDAQ/bin/CC10.py --daq --wait 15 > /tmp/crontest-cc10.log 2>&1 # * * * * * /users/DAQ/EpicsDAQ/bin/CC10.py --daq --wait 45 >> /tmp/crontest-cc10.log 2>&1 }}} 1. Shutdown Raspberry Pi {{{ pi@raspberrypi:~$ sudo /sbin/shutdown -h now }}} 1. Parallel work * Hardware works 1. Disconnect Raspberry Pi from CC-10 1. Connect MOXA/Saba-taro to CC-10 and set up MOXA/Saba-taro * Software works 1. Remove channels from the list of Raspberry Pi DAQ channels {{{ controls@k1script1:~$ emacs /users/DAQ/EpicsDAQ/etc/CC10/VAC.json }}} 1. Resume Raspberry Pi DAQ (uncomment CC10.py) on crontab@k1script1 {{{ controls@k1script1:~$ crontab -e * * * * * /users/DAQ/EpicsDAQ/bin/CC10.py --daq --wait 15 > /tmp/crontest-cc10.log 2>&1 * * * * * /users/DAQ/EpicsDAQ/bin/CC10.py --daq --wait 45 >> /tmp/crontest-cc10.log 2>&1 }}} 1. Add channels to the list of MOXA channels. {{{ controls@k1script1:~$ emacs /users/DAQ/EpicsDAQ/etc/CC10/MOXA_VAC.json.txt }}} 1. Update IOC data base {{{ controls@k1script1:~$ /users/DAQ/EpicsDAQ/share/scripts/generate_daq_conf.py -s cc10 -o db > /opt/rtcds/kamioka/k1/target/k1vac/db/example_vac_gauge.db }}} 1. Restart vacuum IOC on supervisor@k1script1 {{{ controls@k1script1:~$ sudo supervisorctl restart vac_ioc }}} 1. Update daqd configuration file {{{ controls@k1script1:~$ /users/DAQ/EpicsDAQ/share/scripts/generate_daq_conf.py -s cc10 -o ini > /opt/rtcds/kamioka/k1/chans/daq/K1EDCU_VAC_GAUGE.ini }}} 1. Restart daqd from DAQ guardian == Add new channels with the MOXA/Saba-taro system == === Procedures === 1. Parallel work * Hardware work 1. Connect MOXA/Saba-taro to CC-10 and set up MOXA/Saba-taro * Software work 1. Add channels to the list of MOXA channels. {{{ controls@k1script1:~$ emacs /users/DAQ/EpicsDAQ/etc/CC10/MOXA_VAC.json.txt }}} 1. Update daqd configuration file {{{ controls@k1script1:~$ /users/DAQ/EpicsDAQ/share/scripts/generate_daq_conf.py -s cc10 -o ini > /opt/rtcds/kamioka/k1/chans/daq/K1EDCU_VAC_GAUGE.ini }}} 1. Restart daqd from DAQ guardian 1. Update trend-monitor configuration file {{{ controls@k1script1:~$ /users/DAQ/EpicsDAQ/share/scripts/generate_daq_conf.py -s cc10 -o conf > /users/tyamamoto/longTermTrendMonitor/conf/vac.lst }}}