Beamline Instrument Software Support |
|
SPEC Macro documentation:
[ Macro Index |
BCU Home ]
|
STCHANGES.MAC | ||||||
[ source code | installed at | configured at ] | ||||||
See other macros in category: All | ||||||
Description:
| ||||||
Documentation:
The file stchanges.mac should be used to put all the macros which are only slightly modified standard spec macros. Macros in stchanges.mac should be defined in a way to leave the behaviour of standard macros unchanged. Only some hooks to user functions should be included. EXAMPLE To use pseudo.mac or plot2.mac you need to load stchanges.mac INTERNALS As updated moves and counting used the c-function wait directly, these waits had to be replaced by the new waitcheckcount ,... macros. These changes have been made:
ATTENTION This version of stchanges.mac is to be used with SPEC version 6.00.07 and later! Many ESRF specific macros like mv, ct have been eliminated by improvements made to the standard macros in standard.mac. The effort to keep all ESRF functionality was quite big, but we need to be vigilant to eliminate errors. All old code has been kept in this file as comments, which should allow tracking errors. | ||||||
Macros:
| ||||||
Internal Macros: | ||||||
Usage: move_poll waitcount Usage: waitcount waitmove Usage: waitmove user_prepcount Usage: user_prepcount user_precount Usage: user_precount user_waitcount Usage: user_waitcount user_pollcounts will be used to average counts (for pico and adc) and allow timers to change their state (from counting to idle) and modify USER_COUNTERSRUN to allow the macro to continue. The macro will do nothing if user_pollcounts is empty user_idledef Usage: user_idledef value <> 0 if user_pollcounts is not empty user_pollcounts Usage: user_pollcounts user_waitall Usage: user_waitall user_wait2 Usage: user_wait2 user_c_cleanup Usage: user_c_cleanup user_m_cleanup Usage: user_m_cleanup user_cr_cleanup Usage: user_cr_cleanup user_mr_cleanup Usage: user_mr_cleanup user_config1 Usage: user_config1 user_cleanup2 Usage: user_cleanup2 user_cleanup Usage: user_cleanup cleanup1 Usage: cleanup1 user_config Usage: user_config user_finished Usage: user_finished user_finished1 Usage: user_finished1 | ||||||
|