wiki:epics/streamdevice/setup1

Version 2 (modified by obina, 12 years ago) (diff)

--

Stream Device セットアップ

準備

このとき使ったバージョンは以下の通り(最新のものを使うことをお勧めします)

  • epics R3.14.9
  • seq 2.0.11
  • asyn 4-11

ダウンロード、インストール

[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

"streamApp/Makefile" の 23行目のコメントを外し、aaiRecord.dbd,aaoRecord.dbd を組み込む。

[epics@pfrproc2 2-5]$ make

Build Lib/Application
[epics@pfrproc2 2-5]$ cd StreamDevice-2-5
[epics@pfrproc2 src]$ make

同じ事をpfrproc2, pfrproc3 の両方で実施する。

[epics@pfrproc3 2-5]$ ls
Makefile  StreamDevice-2-5  bin  configure  dbd  include  lib