Beamline Instrument Software Support |
|
SPEC Macro documentation:
[ Macro Index |
BCU Home ]
|
ondulator.mac | ||||||
[ source code | installed at | configured at ] | ||||||
See other macros in category: Obsolete | ||||||
Description:
| ||||||
Documentation:
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:
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: | ||||||
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. | ||||||
|