synApps Homepage
areaDetector安装指导
Area Detector · GitHub
1. 下载安装synApps
areaDetector安装需要EPICS base与asyn,synApps模块安装环境,因此需要先安装synApps。
wget https://epics.anl.gov/bcda/synApps/tar/synApps_6_0.tar.gz
tar -zxvf synApps_6_0.tar.gz
解压后下级文件夹support内含有所有相关内容
2. 每个areaDetector探测器模块都会build一个库和一个EPICS IOC应用。build库只需要EPICS base和asynDriver模块,build IOC应用需要先安装AUTOSAVE,BUSY,CALC,SSCAN。
(BUSY依赖ASYN,AUTOSAVE;ASYN依赖IPAC和SNCSEQ;CALC依赖SNCSEQ和SSCAN)
因此需要修改以下模块的configure/RELEASE中SUPPORT和EPICS_BASE:
ipac->seq->autosave->sscan->busy->calc
3. 检查外部库XML2是否已经安装,因为XML2是必需的外部库
yum list installed *xml2
若无需要安装 yum install libxml2.x86_64
4. 下载对应的探测器模块
wget https://github.com/areaDetector/ADPilatus/archive/R2-6.tar.gz
tar -zxvf R2-6.tar.gz
5. 检查修改repository的configure/RELEASE文件的SUPPORT与EPICS_BASE
areaDetector/areaDetector
areaDetector/ADSupport
areaDetector/ADCore
areaDetector/ADSimDetector
areaDetector/ADPilatus
6. 修改areaDetector/configure目录下的文件
cp EXAMPLE_RELEASE.local RELEASE.local
cp EXAMPLE_RELEASE_SUPPORT.local RELEASE_SUPPORT.local
cp EXAMPLE_RELEASE_LIBS.local RELEASE_LIBS.local
cp EXAMPLE_RELEASE_PRODS.local RELEASE_PRODS.local
cp EXAMPLE_CONFIG_SITE.local CONFIG_SITE.local
编辑上述文件相关内容,以保证库的位置和已安装的库位置一致
7. make
areaDetector显示控制可以使用MEDM,EDM,CSS或caQtDM