Beamline Instrument Software Support |
|
SPEC Macro documentation:
[ Macro Index |
BCU Home ]
|
C353.mac | ||||||
[ source code | installed at | configured at ] | ||||||
See other macros in category: Accelerator | ||||||
Description:
| ||||||
Documentation:
Macros to configure and operate the csel C353 card. This card provides bunch marking for synchronization with experiments. 26/01/10: add message with calculated frequency in c353_setsignals 29/01/10: c353_select saves present config in array and retreives the selected one 29/01/10: c353_putconf and c353_getconf work in ~blissadm/local/spec/userconf/C353 directory | ||||||
Macros:
Usage: c353setup <device name> setting the list of bunchmarkers c353_select Usage: c353_select select the current bunchmarker c353_state Usage: c353_state read state c353_on Usage: c353_on Setting of output inhibit off c353_off Usage: c353_off Setting of output inhibit on c353_reset Usage: c353_reset Resets the DLL. This is done automatically when the device server starts, and must be done afterwards if cable unplugged. Furthermore, when run, it: - sets all channel to RF phases to 0 - sets all channel phase shift by N RF to 0 c353_setfreq Usage: c353_setfreq <channel> <prescale1> <prescale2> <prescale3> <prescale4> Defines the frequency divider for a channel. Furthermore, when run, it sets all channel phase shift by N RF to 0. c353_setshortp Usage: c353_setshortp <channel> <prescaler> Sets a short pulse shape for a channel c353_readshape Usage: c353_readshape <channel> reads the channel pulse shape c353_settog Usage: c353_settog <channel> <0/1> Sets the toggle mode (0:no toggle, 1:toggle) for channel c353_readtog Usage: c353_readtog <channel> Reads the toggle mode (0:no toggle, 1:toggle) for channel c353_setpol Usage: c353_setpol <channel> Sets the polarity mode for channel c353_readpol Usage: c353_readpol <channel> Reads the polarity mode (0:normal, 1:inverted) for channel c353_RFshift Usage: c353_RFshift <RFshift> Sets RF clock shifting for all the channels (in 1/256 RF clock increment) c353_RFincshift Usage: c353_RFincshift <RFshift> Sets RF clock incremental shifting for all the channels (in 1/256 RF clock increment) c353_RFrshift Usage: c353_RFrshift Reads the RF clock shift of all the channels c353_Chanshift Usage: c353_Chanshift <channel> <chanshift> Sets channel phase shift by N RF for one channel (in RF clock increment) c353_Chanincshift Usage: c353_Chanincshift <channel> <chanshift> Sets channel incremental phase shift by N RF for one channel (in RF clock increment) c353_Chanrshift Usage: c353_Chanrshift <channel> Reads the channel phase shift by N RF for one channel c353_setsignals Usage: c353_setsignals Defines the parameters, frequencies and phase shifts c353_readsignals Usage: c353_readsignals Reads signals c353_readinhibit Usage: c353_readinhibit Reads inhibit signal status bit c353_putconf Usage: c353_putconf <filename> stores the present C353 configuration on <filename> (under ~blissadm/local/spec/userconf/C353) c353_getconf Usage: c353_getconf <filename> get the C353 configuration stored in <filename> and applies it to the hardware c353_resync Usage: c353_resync <gate mode> resync according to gate mode | ||||||
Internal Macros: | ||||||
Usage: _C353_checkifset checks if CUB_ARR global associative array has been already set _c353_valid_channel Usage: _c353_valid_channel <channel> Checks that channel is in valid range Returns 1 (if OK) and 0 (if NOT OK) c353_readfreq Usage: c353_readfreq <channel> Reads the channel frequency divider _c353_check_shortp Usage: _c353_check_shortp <pulse> check that short pulse is in the range Returns 1 (if OK) and 0 (if NOT OK) c353_setlongp Usage: c353_setlongp <channel> <prescaler1> <prescaler2> Sets a Long pulse shape for a channel _c353_saveoneconf Usage: _c353_saveoneconf <index> store the configuration for C353 device <index>in saving arrays _c353_getoneconf Usage: _c353_getoneconf <index> get the configuration for C353 device <index> from saving arrays _c353_applyconf Usage: _c353_applyconf applying the last loaded configuration to the C353 _c353_readfile Usage: _c353_readfile <filename> reads the file in ~blissadm/local/spec/userconf/C353 as a spec macro file c353_test_setsignals Usage: c353_test_setsignals testing macro for storage in arrays only (does not apply to hardware) | ||||||
|