esrf

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

OSCIL.MAC
See other macros in category: Obsolete
Description:
    Macros for synchronisation beam shutter/Phi spindle
Documentation:
    DESCRIPTION
    The macros allow the Phi spindle motion of the diffractometer and the control of the beam shutter to be synchronized . This macros should be not directly used and are called from other macros (see ccd.mac and mar.mac files)

    DEPENDENCIES
    The files oscil.mac and bac24.mac have to be read in ! done by: startup script

Macros:
    oscilsetup
    Usage: oscilsetup ["name of the PHI rotation motor"] ["name of the OMEGA rotation motor"] ["shutter-pre-delay"] ["shutter-post-delay"] ["synchro type"] %MDESC% has to be called first for initialisation of the goniostat axis control and synchronisation setting up. ####################################################################


Internal Macros:
    oscil_cleanup
    Usage: oscil_cleanup
    clean up macro called when spec received the INT signal (by typing Ctrl-C) allows to stop the current command (e.g. a scan command), restores the defaults motor parameters (speed ..) #####################################################################

    vct6_set
    Usage: vct6_set ["Edge value"] ["gate value"]
    Set up parameters of the the VCT6 channel to get a gate generation according to the parameters. ####################################################################

    vct6_stop
    Usage: vct6_stop
    Stop the vct6 Master timer (channel 1) ####################################################################

    phi_oscillation
    Usage: phi_oscillation ["start angle"] ["stop angle"] ["time"]
    According to the motor parameters, the angle positions and the Oscillation time, performs the motor motion and the synchronisation with the fast beam shutter (by using the maxcount2 box or the VCT6 board). # ####################################################################

    oscillation_prepare
    Usage: oscillation_prepare ["start angle"] ["stop angle"] ["time"]
    According to the motor parameters, the angle positions and the Oscillation time, performs the motor motion and the synchronisation with the fast beam shutter (by using the maxcount2 box or the VCT6 board). # ####################################################################

    oscillation
    Usage: oscillation
    According to the motor parameters, the angle positions and the Oscillation time, performs the motor motion and the synchronisation with the fast beam shutter (by using the maxcount2 box or the VCT6 board). HAS TO BE CALLED AFTER A CALL OF oscillation_prepare # ####################################################################

    sy_test
    Usage: sy_test ["channel-num"] ["gate-time"]
    allows us to generate from the VCT6 card a gate on the channel-num channel (1 to 2) of duration gate-time in seconds. ####################################################################

    XHuberFinished
    Usage: XHuberFinished


Filename: oscil.mac
Author: Laurent Claustre, 15/09/2000 $Revision: 1.3 $, $Date: 2012/05/04 14:06:53 $
Last mod.: 04/05/2012 16:06 by witsch