The Directories

Running ONLINE involves four directories:

 The default directory:
It is recommended to store the data in the default directory. It is also used for a log-file (online.log). When a new version of the log-file is opened, the old version is renamed to online_iiii.log. The log-file keeps track of calibrations, scans, etc. Since it can be very helpful for a post mortem analysis, it should stay with the data.

 /home/user_name/prog
The directory which stores those command file that turned out to be a kind of standard for a beamline. They can be called directly from this directory. ONLINE offers are platform-independent file name specification for the prog-directory: <~.prog>. The standard command files can be templates for own developments. The modified files should be kept in the their default directory. The contents of the prog-directory is maintained by an expert.

 /online_dir
The directory which stores the the device list, the startup file, exit file, a second online.log and the UB matrix, etc. These files are described in the following sections.

The current online_dir can be found with:

ONLINE> show flags

 /online_dir/daemon
The process working directory of the daemon. The daemon output is directed to daemon.log.

 /gra_library
Where the SPECTRA image and the help file is stored.