= Stream Device セットアップ = == 準備 == このとき使ったバージョンは以下の通り(最新のものを使うことをお勧めします) * epics R3.14.9 * seq 2.0.11 * asyn 4-11 == ダウンロード、インストール == * http://epics.web.psi.ch/software/streamdevice/ * 2-5 をダウンロード {{{ [epics@pfrproc2 ]$ cd /pf/epics/R314.9/modules/soft/stream/2-5 [epics@pfrproc2 2-5]$ makeBaseApp.pl -t support Name the application(s) to be created. Names given will have "App" appended to them. Application names? <---------- Enter 入れるのみ [epics@pfrproc2 2-5]$ ll 合計 16 -rw-r--r-- 1 epics epics 391 5月 8日 23:50 Makefile drwxr-xr-x 2 epics epics 1024 5月 8日 23:50 configure [epics@pfrproc2 2-5]$ vi configure/RELEASE #If using the sequencer, point SNCSEQ at its top directory: SNCSEQ=$(EPICS_BASE)/../modules/soft/seq/2.0.11 ASYN=$(EPICS_BASE)/../modules/soft/asyn/4-11 }}} !StreamDevice-2-5.tar.gzをこのディレクトリに展開 {{{ [epics@pfrproc2 2-5]$ ls Makefile StreamDevice-2-5 configure }}} "StreamDevice-2-5/streamApp/Makefile" の 23行目のコメントを外し、aaiRecord.dbd,aaoRecord.dbd を組み込む。 (EPICS Base 3.14.12以降ではaaiレコードがbaseに含まれたのでコメントは付けたまま、何もしなくて良い) あとはmakeするだけ {{{ [epics@pfrproc2 2-5]$ make Build Lib/Application [epics@pfrproc2 2-5]$ cd StreamDevice-2-5 [epics@pfrproc2 src]$ make [epics@pfrproc3 2-5]$ ls Makefile StreamDevice-2-5 bin configure dbd include lib }}}