In this lab we create and destroy EPICS channels all the time. We need a quick way to gather all of the channels from our .db modbus database files and print out a .ini file configured to play nice with our framebuilder. This is exactly what channelFramebuilderConfigFileCreator.py does. It's located in Git/cit_ctnlab/ctn_scripts/
I copied all the regular expression stuff I wrote into channelDumper.py, and just reconfigured the output for the framebuilder .ini syntax.
If you run it using python channelFramebuilderConfigFileCreator.py, it creates a C3CTN.ini file on acromag1 in /home/controls/CTNWS/data/C3CTN.ini.
You have to copy this file to fb4 (10.0.1.156) /opt/rtcds/caltech/c4/chans/daq/C3CTN.ini:
scp /home/controls/CTNWS/data/C3CTN.ini controls@10.0.1.156:/opt/rtcds/caltech/c4/chans/daq/C3CTN.ini
Then follow awade's instructions from PSL ELOG 2014 to restart the framebuildin'. |