Epics allows command line scripts to be written to automate various data collection and other sequences. To date, (June, 2007), seven have been written, all of which have several things in common.
Most of these operate in the same way:
Imaging_and_diffraction_2 and _3 operate in the same way, except that there are two or three diffraction positions (for various parts of the sample).
Imaging_and_diffraction_new and Imaging_and_diffraction_scan appear to be identical and are used to scan the sample in both Y and Z during the diffraction data collection (imaging is done as above). The entries for both are imaging_and_diffraction_new, ZIM, ZDIF1, YDIF1, ZRANGE, YRANGE, where ZRANGE and YRANGE are the range of the Z and Y scans.
diffraction_and_scan allows for a single Y-scan across the sample during diffraction. Enter diffraction_and_scan, ORIG, INT where ORIG is the center of the Y-scan, and INT is the increment (+ or -) for the scan. The press will move from ORIG+INT to ORIG-INT back and forth until the collection time is over.
Imaging_and_diffraction_1, Imaging_and_diffraction_2, Imaging_and_diffraction_3, Imaging_and_diffraction_new, and Imaging_and_diffraction_scan all assume that the correct "closed" width for the slit is 0, and the correct "open" width is 1. It also assumes the positions are also 0, both for open and closed. The width values can be changed by editing the script before you run it, but the positions cannot.
Imaging_and_diffraction_1a, allows the open width to be more specifically controlled, including the open and closed positions. It must be customized before use.
The code for each of these five scripts is listed below:
imaging_and_diffraction_1a.pro
imaging_and_diffraction_new.pro