esrf

Beamline Instrument Software Support
SPEC Macro documentation: [ Macro Index | BCU Home ]

Monochromator tuning
See other macros in category: Tools
Description:
    Macros for automatic monochromator tuning.
Documentation:
    OVERVIEW
    To be written.

    EXAMPLE
    monotunesetup
    Configures ...
    monotune on


Macros:
    monotunesetup
    Usage: monotunesetup <motor_mne> [<counter_mne>] [<period> [<step>]] [scans] [<macro>]


    monotuneunsetup
    Usage: monotuneunsetup


    monotune
    Usage: monotune "?" | [<monitor> [<time_step>]]


    monotuneonintensityon
    Usage: monotuneonintensityon [factor]
     Turns on intensity triggering:
     After the time specified in monotunesetup, il will check if
     detector_value < (factor * old_peak_maximum) prior to autotune
     if so, it will autotune
     if not, it will wait the time specified in monotunesetup prior
     to check again
     DANGER: if there is a new refill, the intensity may be always above
     the last value and tuning might never be done
     Therefore, if detector_value > (1.05 * old_peak_maximum) autotune 
     performed
    


    monotuneonintensityoff
    Usage: monotuneonintensityoff
     Turns off intensity triggering:
     After the time specified in monotunesetup, il will check if
     detector_value < (factor * old_peak_maximum) prior to autotune
     if so, it will autotune
     if not, it will wait the time specified in monotunesetup prior
     to check again
     DANGER: if there is a new refill, the intensity may be always above
     the last value and tuning might never be done
     Therefore, if detector_value > (1.05 * old_peak_maximum) autotune 
     performed
    


    monotuneon
    Usage: monotuneon


    monotuneoff
    Usage: monotuneoff


Internal Macros:
    _monotune
    Usage: _monotune ("?" | <monitor>, [<time_step>])


    stepping_monotune
    Usage: stepping_monotune


Filename: monotune.mac
Author: P.Fajardo, (Original 4/95). $Revision: 3.4 $ / $Date: 2008/08/12 14:23:57 $
Last mod.: 12/08/2008 16:23 by rey