Start
The starting point of the scan. The default is 0, the
translation of start_type or
the qualifier /_start.
|
Stop
The end point of the scan. The default is 0, the translation of
stop_type or
the qualifier /_stop.
|
Delta
The step width. The default is 0, the translation of
delta_type or
the qualifier /_delta.
|
Range
If this parameter is supplied, ONLINE calculates
start and stop. The corresponding qualifier is /_range.
|
np
If this parameter is supplied, ONLINE calculates
delta. The corresponding qualifier is /_np_scan.
|
repeats
The scan is n times repeated. ONLINE maintains
the symbols rindex, repeat_total and
repeat_flag which may be used in
before_type_scan.gra or
in after_type_scan.gra. Rindex is the current repeat
count, repeat_total is the number of requested repeats
and repeat_flag is 1, if the current scan is a repeat
scan.
Repeated scans requiere a generic_scan_name.
Repeated scans can be terminated with the key 't' or by setting
the symbol INTERRUPT_REPEATS.
|
scan_name
The scan name. ONLINE creates this scan,
clears it and sets its x-values to the
selected positions. During the scan the
x-values are set to the actual positions.
The default is the translation of scan_name_type,
scan_name_general or the qualifier /_scan_name.
If a scan is started with an empty scan name, ONLINE chooses
scan_type_date_time.
|
comment
A comment line. It is copied to the first
comment line of scan_name.
|
sample_time
The sample time.
The default value is
1 second, the translation of sample_time_type or
the qualifier /_sample_time.
|
scan_par
A scan parameter, the only purpose of this parameter is
to have it available in the command files.
The default value is
1, the translation of scan_par_type or the
qualifier /_scan_par.
|
wait_time
ONLINE waits wait_time seconds
before it executes during_type_scan.
This feature has been implemented to reduce the effect of
mechanical instabilities.
|
ssa
A simple scan analysis on the SCAN scan_name (In case of fast
scans scan_name is filled with scan_c1).
The SSA is done before after_type_scan.gra is
executed. The default value of the flag is 0, the translation
of ssa_type or the
qualifier /_ssa. The user may specify that there is no background
subtraction by issuing the /_ssa_nbs=1 qualifier.
|
auto_return
A flag that controls whether the energy/wavelength is
driven back to the original
position after the scan. The default value of this flag is
given by 1, auto_return_general, auto_return_type or
the qualifier /_auto_return. The
qualifier has the highest precedence.
The options are:
0 | The motors stay where they are.
|
1 | The motors are moved back to where the were before the
scan started.
|
2 | The motor is moved to the midpoint of the SSA analysis.
|
3 | The motor is moved to the cms of the SSA analysis.
|
4 | The motor is moved to the peak of the SSA analysis.
|
5 | The motor is moved back to the starting point of the scan.
|
Option 2, 3 and 4 are ignored, if the SSA was not successful.
|
maximum_x, maximum_y
These values are returned from
the scan routine.
It is the position of the highest point of scan_name.
|
before_type_scan
The command file which is executed before
a scan is started.
The default name is the translation of before_type_scan.
If that symbol does not exist, ONLINE tries to
decode before_general_scan. If that also does not
exist ONLINE, chooses before_type_scan.gra.
|
during_type_scan
The command file that is executed at every stop. It contains
a list of commands that is read once for each scan.
Statement blocks (if, for, case) are not allowed in this file in order to
save CPU time.
If such constructs cannot be avoided,
during_type_scan must call
a file with a run command.
Note that there is a single line if-statement.
This may
appear in during_type_scan.
during_type_scan may set the symbol interrupt_scan
to tell online
to interrupt the scan.
The default name is the translation of during_type_scan.
If that symbol does not exist, ONLINE tries to
decode during_general_scan. If that also does not
exist ONLINE, chooses during_type_scan.gra.
|
after_type_scan
The command file which is executed after
a scan is finished. It may evaluate the symbol interrupt_scan
to decide
whether the scan has come to a normal end or not.
The default name is the translation of after_type_scan.
If that symbol does not exist, ONLINE tries to
decode after_general_scan. If that also does not
exist ONLINE, chooses after_type_scan.gra.
|
If the user wishes to edit the command files, he has to toggle
the 'NO' behind the corresponding name to 'YES'.