esrf

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

ondulator.mac
See other macros in category: Obsolete
Description:
    Reads and sets the gap and phase of the ondulator
Documentation:
    SETUP
    In the current setup your computer must have access to aries (where the data base is running) and draco (where the device server runs). You need the external programs getgap and setgap in your path (See A.Goetz CSS for that.

Macros:
    gapsetup
    Usage: gapsetup [phase device name]
    Macro to setup the phase macros for the hel. ondulator. The device name on aries which controls the phase has to be entered (for example: fe/id/16)

    getond
    Usage: getond [phase/gap mnemonic]
    Reads the ondulator phase and writes the result on the screen and in the data file.

    setond
    Usage: setond [gap/phase-mnemonic] [gap/phase]
    Sets the ondulator gap with identifier [gap/phase-mnemonic] to [gap/phase].

Internal Macros:
    phase_read
    Usage: phase_read <gap spec index> <variable for phase>
    Reads the phase on defined gap/phase with index <gap spec index> and puts it in variable <variable for phase>.

    phase_findindex
    Usage: phase_findindex <idx-variable> <user-entry>
    Finds the index in the internal array from user-entry.

    waitphase
    Usage: waitphase
    wait until phase has changed to <phase to wait for>, or timeout has been reached.

Filename: ondphase.mac
Author: JK May 95
Last mod.: 12/08/2008 17:18 by rey