Vacuum System Migration
Contents
Migration from RaspberryPi to MOXA/Saba-taro
Procedures
- 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
- Shutdown Raspberry Pi
pi@raspberrypi:~$ sudo /sbin/shutdown -h now
- Parallel work
- Hardware works
- Disconnect Raspberry Pi from CC-10
- Connect MOXA/Saba-taro to CC-10 and set up MOXA/Saba-taro
- Software works
- Remove channels from the list of Raspberry Pi DAQ channels
controls@k1script1:~$ emacs /users/DAQ/EpicsDAQ/etc/CC10/VAC.json
- 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
- Add channels to the list of MOXA channels.
controls@k1script1:~$ emacs /users/DAQ/EpicsDAQ/etc/CC10/MOXA_VAC.json.txt
- 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
- Restart vacuum IOC on supervisor@k1script1
controls@k1script1:~$ sudo supervisorctl restart vac_ioc
- Remove channels from the list of Raspberry Pi DAQ channels
- Hardware works
- 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
- Restart daqd from DAQ guardian
Add new channels with the MOXA/Saba-taro system
Procedures
- Parallel work
- Hardware work
- Connect MOXA/Saba-taro to CC-10 and set up MOXA/Saba-taro
- Software work
- Add channels to the list of MOXA channels.
controls@k1script1:~$ emacs /users/DAQ/EpicsDAQ/etc/CC10/MOXA_VAC.json.txt
- Add channels to the list of MOXA channels.
- Hardware work
- 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
- Restart daqd from DAQ guardian
- 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
