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