|
⇤ ← Revision 1 as of 2026-01-29 12:21:08
Size: 1973
Comment:
|
← Revision 2 as of 2026-01-29 15:01:55 ⇥
Size: 2716
Comment:
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 4: | Line 4: |
| == From RaspberryPi to MOXA/Saba-taro == | == Migration from RaspberryPi to MOXA/Saba-taro == |
| Line 6: | Line 6: |
| 1. Stop (comment out) CC10.py processes on crontab@k1script1 {{{ |
1. Stop Raspberry Pi DAQ (comment out CC10.py) on crontab@k1script1 {{{ |
| Line 11: | Line 11: |
| }}} 1. Remove channels from the list of Raspberry Pi DAQ channels. {{{ controls@k1script1:~$ cd /users/DAQ/EpicsDAQ/etc/CC10/ controls@k1script1:/users/DAQ/EpicsDAQ/etc/CC10$ cp VAC.json VAC_$(unique_name).json controls@k1script1:/users/DAQ/EpicsDAQ/etc/CC10$ emacs VAC.json.$(unique_name) # <- comment out device, channel and IP addresses by '$' controls@k1script1:/users/DAQ/EpicsDAQ/etc/CC10$ unlink VAC.json controls@k1script1:/users/DAQ/EpicsDAQ/etc/CC10$ ln -s VAC.json.$(unique_name) VAC.json }}} 1. Resume (uncomment) CC10.py processes on crontab@k1script1 {{{ |
}}} 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 {{{ |
| Line 25: | Line 30: |
| }}} 1. Remove channels ({{{K1:VAC-PRESSURE_*}}}) from the IOC database ({{{K1:VAC-ALERT_*}}} must be left) {{{ controls@k1script1:~$ emacs /opt/rtcds/kamioka/k1/target/k1vac/db/example_vac_gauge.db }}} 1. Restart vacuum IOC on supervisor@k1script1 {{{ |
}}} 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 {{{ |
| Line 33: | Line 42: |
| }}} 1. Shutdown Raspberry Pi {{{ pi@raspberrypi:~$ sudo /sbin/shutdown -h now }}} 1. Disconnect Raspberry Pi from CC-10 and connect MOXA/Saba-taro to CC-10 1. Add new channels ({{{*_SP_STAT}}}, {{{*_SP_VAL}}}, etc.) {{{ controls@k1script1:~$ emacs -nw /opt/rtcds/kamioka/k1/chans/daq/K1EDCU_VAC_GAUGE.ini }}} |
}}} 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 }}} |
| Line 44: | Line 48: |
== 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 }}} |
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
