Initialization of CAMAC/VME
The ADC/TDC modules in the CAMAC or VME crate need to be initialized when the power is turned on.
VME initialization:
- login babar (just type "babar" from dat2 machine).
- You should be at ~/exp/????, ???? is the directory of the current experiment. Do "cd vsta" there.
- The VME modules can be initialized by "vmestat all.vsta", if you prepared "all.vsta".
- The vsta file could be made by a perl script, makevsta.pl. In that case, run "vmeinit.sh". (This is the usual case.)
- On the execution of vmestat, the LEDs on the modules should flash.
- "makevsta.pl" overwrites "all_auto.vsta".
- You can change the settings by editing the first part of "makevsta.pl".
- @modules...specify ADC/TDC, GEO number, and adress.
- @disable...You can specify unnecessary channels for each module.
- $fsr...TDC's Free spectral range parameter. (See Baba-san's web page.)
- $thres...Common ADC threshold (All channels become the same.) -vmeinit.sh is a shell script which call "makevsta.pl" and "vmestat all.vsta".
CAMAC initialization:
- Login to dat. (It is not dat2 or babar!). Username is "rips", and the password is "o********".
- Do "cd 3351_init".
- Execute "init.sh".
- Make sure the station no. etc. are correctly configured.
- If if fails (it often fails), try the following: rerun the script, send "clear" by the switch at the CAMAC crate, turn off and on the crate,
Files:
- generate_ccsta.pl... Perl script to generate ccsta file
- gc_3351.ccsta, gc_3371.ccsta... ccsta files generated.
- check.sh...script to check the configurations.
- init.sh... shell-script to execute "ccstat" and "check.sh".