Symbols

This chapter explains symbols that are of general importance. They are defined in /online_dir/exp_ini.exp, if not stated otherwise.

 BEAMLINE=hasa1
Selects the monochromator software.
 before_general_scan = $<$~.prog$>$before_w1.gra
 during_general_scan = $<$~.prog$>$during_w1.gra
 after_general_scan = $<$~.prog$>$after_w1.gra Selects the command files for the general scan routine.
 bem_command = “sdv(dac1) = 0"
 aem_command = “sdv(dac1) = 10"
The symbols bem_command and aem_command are executed before and after energy changes. They have been implemented to disable/enable the MOSTAB during the movements. bem_command may use the symbol energy_setpoint_bem.

It may also be set by before_$type$_scan.gra or after_$type$_scan.gra. It signals ONLINE that the user wishes to abort the current scan.

 generic_scan_name=si
Used by the general scan routine to construct a scan name which consists of a generic part followed by a number that is automatically incremented after each scan. The general scan routine determines the current scan number by searching the queue and the default directory for matching names.
 interrupt_scan
Is set in before_$type$_scan.gra or during_$type$_scan.gra to signal a fatal condition. If ONLINE finds it, it interrupts the scan. The symbol is set by ONLINE, if the user interrupted a scan by pressing the space bar. The symbol can be tested in after_$type$_scan.gra.
 signal=[vfc(c1,t1,0.5)]
SIGNAL is evaluated, whenever ONLINE determines the intensity. This assignment means: The contents of counter C1 after it was opened for 0.5 seconds by timer T1 is the intensity.