mardtb 248x110
Edited on May 4, 2009

9. Input


9.1 Overview

Program mar345dtb uses the following input files. Some of them are mandatory, others optional.

Table 1: mar345dtb input files.

File type File name Mandatory Description
Configuration $MARTABLEDIR/mar345dtb.cfg
or $MARTABLEDIR/config.###
yes Configuration parameters for dtb and detector
Calibration $MARTABLEDIR/mar2300.###
$MARTABLEDIR/mar3450.###
yes Calibration files for 150 and 100 micron scan modes (for mar345-detector)
Parameter $MARLOGDIR/dtb.dat no Saved parameters from "Edit"
Shell script $MARLOGDIR/dtb.csh no Shell script template for executing external commands
Command $MARLOGDIR/dtb.com no Parameter file for triggering an action of the dtb or the scanner
Images ... no Image files in several formats
Carousel data $MARLOGDIR/csc/CSC.csv no Saved parameters from "CSC"

### denotes a 3-digit serial number and usually is defined as $MAR_SCANNER_NO (or $MAR_DTB_NO if program mar345dtb is used without mar345 support). As of version 9, program mar345dtb tries to read file mar345dtb.cfg as configuration file, in the first place. To be compatible with older versions, if that file is not present, the program falls back to config.###.
The idea is to only add INCLUDE lines to file mar345dtb.cfg and thus separate parameters that are specific to the desktop beamline from those that are specific to the detector. When using program mar555dtb, the corresponding filename is mar555dtb.cfg.


9.2 Configuration File

While all parameters used within program mar345dtb are set to reasonable defaults, there are quite a number of parameters that are specific for either a particular model of the desktop beamline or the mar345 image plate detector. Therefore, the program must read in a configuration file for proper function. The configuration file is called config.$MAR_SCANNER_NO and resides in directory $MARTABLEDIR. If the configuration file doesn't exist, the program can't be started. The file is a keyworded ASCII-file which may be edited. Keep in mind that many of the parameters can be absolutely critical for hardware functions, so for editing you really have to know what you are doing!



9.2.1 Keywords

The configuration file is a keyworded ASCII-file in free format. Lines starting with # or ! are treated as comment lines. Almost all keywords and subkeywords can be truncated to 4 characters. A number of keywords are of general program use, other affect the dtb only and others the mar345-detector only:

9.2.1.1 General

The following keywords are of general importance to run the program:



9.2.1.2 Keywords for dtb

The following keywords affect the dtb only: