diff --git a/documentation/areaDetectorDoc.html b/documentation/areaDetectorDoc.html index ecc9cc1..2d3a0d2 100755 --- a/documentation/areaDetectorDoc.html +++ b/documentation/areaDetectorDoc.html @@ -10,7 +10,7 @@
@@ -1793,5 +1794,146 @@
ADEpicsShutter.adl
+ + After obtaining a copy of the distribution, it must be installed and built for use + at your site. These steps only need to be performed once for the site (unless versions + of the module running under different releases of EPICS and/or the other required + modules are needed).
+tar xvzf areaDetectorRX-Y.tgz + ++ where X-Y is the release.
.../support/areaDetectorRX-Y ++
Prebuilt versions of areaDetector are provide for Windows (win32-x86), Cygwin (cygwin-x86), + and Linux (linux-x86). Follow these steps to use the prebuilt version:
+tar xvzf areaDetectorPrebuilt_RX-Y.tgz+
areaDetector provides display/control screens for the medm + Motif Editor and Display Manager. A prebuilt version of medm for Windows can be found in the + EPICS WIN32 Extensions. For Linux one can build medm + from source code, which requires downloading and building + EPICS base first. Alternatively I provide a prebuilt version of + medm for Linux in the + EPICS_Linux_binraries.tar package. + To use this version copy the medm executable to some location in your PATH, e.g. /usr/local/bin, or ~/bin, etc. + Copy the 2 shareable libraries libCom.so and libca.so to a location which is in your LD_LIBRARY_PATH. + To use either the source code or prebuilt version you need to have the OpenMotif package installed. This + typically is not installed by default with recent versions of Linux. Go to + www.openmotif.org + and download and install the appropriate RPM package for your Linux version.
+Before running an areaDetector application it is usually necessary to configure a number of items.
++ setenv EPICS_CA_AUTO_ADDR_LIST NO + setenv EPICS_CA_ADDR_LIST localhost:XX.YY.ZZ.255 ++ where XX.YY.ZZ.255 should be replaced with the broadcast address for the public network on this computer.
+ setenv EPICS_CA_MAX_ARRAY_BYTES 100000000 ++
+ setenv EPICS_DISPLAY_PATH /home/mar345/epics/adls ++
+ find /home/mar345/epics/support -name '*.adl' -exec cp -fv {} /home/mar345/epics/adls \;
+
+ This script finds all adl files in the epics/support tree and copies them to /home/mar345/epics/adls. That directory
+ must be created before running this script. Similar scripts can be used for other Linux detectors (marCCD, Pilatus, etc.)
+ and can be used on Windows as well if Cygwin is installed. Each time a new release of areaDetector is installed remove
+ the old versions of each support module (areaDetector, asyn, autosave, etc.) and then run this script to install the
+ latest medm files.
+ Each example IOC directory comes with a Linux script (start_epics) or a Windows batch file (start_epics.bat) or both + depending on the architectures that the detector runs on. These scripts provide simple examples of how to start + medm and the EPICS IOC. For example, for the mar345 iocBoot/iocMAR345/start_epics contains the following:
++ medm -x -macro "P=13MAR345_1:, R=cam1:, I=image1:, ROI=ROI1:, NETCDF=netCDF1:, TIFF=TIFF1:, JPEG=JPEG1:, NEXUS=Nexus1:" mar345.adl & + ../../bin/linux-x86/mar345App st.cmd ++
This script starts medm in execute mode with the appropriate medm display file and macro parameters, running it in the background. It then
+ runs the IOC application. This script assumes that iocBoot/iocMAR345 is the default directory when it is run, which could be added to the
+ command or set in the configuration if this script is set as the target of a desktop shortcut, etc. The script assumes that EPICS_DISPLAY_PATH
+ has been defined to be a location where the mar345.adl and related displays that it loads can be found. You will need to edit the script
+ in your copy of the iocXXX directory to change the prefix (P) from 13MAR345_1: to whatever prefix you chose for your IOC. The start_epics script
+ could also be copied to a location in your PATH (e.g. /home/mar345/bin/start_epics). Add a command like
+ cd /home/mar345/epics/support/areaDetector/1-5/iocBoot/iocMAR345 at the beginning of the script and then type
+ start_epics from any directory to start the EPICS IOC.