# Commands to build a very simple device support # k.furukawa, jan.2009. # get rrcat.tar.gz from # http://www-linac.kek.jp/epics/second/rrcat.tar.gz mkdir second cd second makeBaseApp.pl -t ioc Clock1 makeBaseApp.pl -t ioc -i -p Clock1 Clock1 tar xzf rrcat.tar.gz perl -i -pe s/CLOCK/{your-username}/ Clock1App/Db/aiSecond.db # example: perl -i -pe s/CLOCK/user7/ Clock1App/Db/aiSecond.db make clean install 2>&1 | tee make.log # (if your shell is csh : make clean install |& tee make.log) cd iocBoot/iocClock1 chmod +x st.cmd ./st.cmd # from another terminal camonitor {your-username}:SEC1 {your-username}:SEC10 # example: camonitor user7:SEC1 user7:SEC10 # Please look in the files Clock1App/src/devAiSecond.c Clock1App/src/aiSecond.dbd Clock1App/Db/aiSecond.db