Epics Extensions

From LNLEpicsWiki

Jump to: navigation, search

EPICS Extensions are programs using the EPICS Base library and are typically client applications making access, modification, adjustment of Process Variables(PV's) easier. In the following we present the installation steps of two CA clients as extensions:

1. Preparation steps for EPICS Extensions intallation

a) download the file extensionsTop_20070703.tar.gz into /opt/epics from website http://www.aps.anl.gov/epics/extensions/configure/index.php
b) uncompress the file extensionsTop_20070703.tar.gz
 $ cd /opt/epics
 $ tar -zxvf extensionsTop_20070703.tar.gz
c) apply changes in the file /opt/epics/extensions/configure/RELEASE
 (old:)       EPICS_BASE=$(TOP)/../base
 (new:) -->   EPICS_BASE=$(TOP)/../base-3.14.10

2. Installation of Probe

a) download the file probe1_1_5_1.tar.gz into /opt/epics/extensions/src from the website http://www.aps.anl.gov/epics/extensions/probe/index.php
b) uncompress the file probe1_1_5_1.tar.gz
 $ cd /opt/epics/extensions/src
 $ tar -zxvf probe1_1_5_1.tar.gz
c) apply changes in the file /opt/epics/extensions/src/Makefile
 $ vi /opt/epics/extensions/src/Makefile
 (old:)       PROBE = probe
 (new:) -->   PROBE = probe1_1_5_1
d) install the Motif library 
 Run the application Add/Remove Software:
 # pirut
 Search for the word "motif", check the pipes before:
 - openmotif-devel.... - Open Motif development libraries and header files
 - openmotif - Open Motif runtime libraries and executables 
 ... and install
e) make Probe
 $ cd /opt/epics/extensions
 $ make

3. Installation of MEDM

a) download the file medm3_1_3.tar.gz into /opt/epics/extensions/src from the website http://www.aps.anl.gov/epics/extensions/medm/index.php
b) uncompress the file medm3_1_3.tar.gz
 $ cd /opt/epics/extensions/src
 $ tar -zxvf medm3_1_3.tar.gz
c) apply changes in the file /opt/epics/extensions/src/Makefile
 $ vi /opt/epics/extensions/src/Makefile
 (old:)       MEDM = medm
 (new:) -->   MEDM = medm3_1_3
d) make MEDM
 $ cd /opt/epics/extensions
 $ make
e) install fonts
 According to the instructions on webpage http://www.aps.anl.gov/epics/EpicsDocumentation/ExtensionsManuals/MEDM/MEDM.html#Fonts 
 , copy the lines starting as "widgetDM_..." to the end of the file /usr/share/X11/fonts/misc/fonts.alias as a root:
 # vi /usr/share/X11/fonts/misc/fonts.alias
 <copy the lines starting as "widgetDM_..." in here>
 restart the X server:
 # /etc/init.d/xfs restart