Software for Multianvil Press operations

Both Multi Anvil systems (main, white beam and monochromatic side station) are controlled by EPICS (Experimental Physics and Industrial Control System)

Individual operations are discussed on the support web page

Individual modules run under either MEDM or IDL

All software listed runs on Windows


    Collects data and saves spectra in ASCII data files.  Uses EPICS to access data.  Version of program used by GSECARS beamline at the APS.  Written by Mark Rivers

PLOT85 (instructions here, program below)

    For data collected after January 1, 2004, you must use Version 5.2.1a or later. Data plotting and analysis program.  Reads both old-style (SAM85 format) and EPICS MCA format data.  Performs energy and 2-theta calibrations.  Will handle both single and multiple detector data files.  Written by Ken Baldwin, with subroutines supplied by Larry Finger, Kurt Leinenweber, Robert Downs, and others. User version 7.0 or later for Vista computers.

PLOT85 for Windows

Plot85 versions prior to 7.0.0 do not work under Vista.

History of data formats and Plot85 version

Run numbers


data format

Plot85 version


11/89 - 8/8/90

6-column MCA



8/18/90 -

1-column MCA








APS-4 det




APS-4 det








APS 4 detector




MED 4-detector




MED 10-detector



Installation of PLOT85

Note: recent versions of Plot85 may have bugs.  To get a previous version, the filename will be something like plot85_7.2.0. Versions prior to 7.0 are in the folder Plot85_old

Get Plot85 (Classic Version: here.

Get Plot85 (Latest Version: here.

Get Plot85 (Release Version(no debug traceback=faster): here.

Get PlotLVP_V9.8.3 (x64 RelaeseVersion(no debug traceback=faster): here.

Get PlotLVP Documentation here.

Get Dispute Documentation here.

Get Sinepump Documentation here.

Get grfont.dat here (Needed for Plot85/PlotLVP. Downloads as grfont.txt. Rename to grfont.dat. Or right click the link and save as.).

Imaging software - Prosilica camera, used on main, white beam

Image Collection is performed using the general Area Detector Control, an EPICS program written at APS. With this program, you control the camera exposure, frame rate, region of interest, etc. It also handles file saving. To view the image in real time, use an IDL program called epics_ad_display. Details of both of these procedures are on the support web page.

Imaging software - Princeton camera, used on monochromatic side station

Image processing is done using WinView32, a commercial product which must be purchased, and is fairly expensive. WinView32 can be controlled by a different version of Area Detector Control than that which controls the Prosilica camera. By default, at the beamline, images are saved in a proprietary format with the .SPE extension. These 16 bit images can be converted to 16 or 8 bit TIFF using WinView32 at the beamline. If you forget to convert them there, you can use the free IDL program here, called princeton_to_tiff_multi.sav. (Windows won't let you directly link to a file with a .sav extension, so I have called it princeton_to_tiff_multi.txt; when you connect to it, select "save as", and change the extension to .sav before you download it). To run it, you need to get the free IDL Virtual Machine. After you install the IDL Virtual Machine, simply double-click on the SAV file. It will open a navigation window with which you can browse to the location of your data (only .SPE files will show up). Select any or all of the files, and then go. In the conversion process, each pixel in the first image is searched for its minimum value, and that value subtracted from all the pixels. Then the maximum value is searched for and every pixel is scaled so that the maximum is 255. That insures that the image has the maximum contrast possible for that image. The image is then saved as a .TIF file, with the same name as the original .SPE file. This process is then repeated for all the images selected.

Last Revised: August 3, 2011