source: trunk/FACT++/ScriptsForDimCtrl/fb_on.dim@ 18055

Last change on this file since 18055 was 13720, checked in by Jens Buss, 13 years ago
add line for making scritpts executable and renamed all scripts to *.dim
File size: 1.1 KB
Line 
1#!dimctrl --exec
2
3# DIMSCRIPT
4.! echo `date -u` "switch on bias feedback - REF 100 " >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
5.! echo `date -u` "----------------------------------------------------" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
6.! echo
7FEEDBACK/STOP
8.s FEEDBACK 6
9.w 500
10BIAS_CONTROL/SET_ZERO_VOLTAGE
11.s BIAS_CONTROL 7
12.w 10000
13BIAS_CONTROL/SET_GLOBAL_DAC 1
14.s BIAS_CONTROL 9
15FEEDBACK/START_CURRENT_CONTROL 0.0
16.w 500
17FEEDBACK/ENABLE_OUTPUT yes
18
19#bad coding here
20.! echo `date -u` "Waiting for 90 sec ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
21.w 90000
22.s BIAS_CONTROL 9
23FEEDBACK/STOP
24FEEDBACK/START_GLOBAL_FEEDBACK 25
25FEEDBACK/SET_REFERENCE 100
26
27FAD_CONTROL/SET_FILE_FORMAT 0
28.! echo `date -u` "Starting Ext. Lightpulser run for 100 Events!!!!!" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
29MCP/START -1 500 light-pulser-ext
30.s FAD_CONTROL 8
31.s FAD_CONTROL 4
32
33.! echo `date -u` "@SHIFTER: please set BY HAND the FEEDBACK REFERENCE to the desired voltage setpoint" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
34.! echo `date -u` "@SHIFTER: .... do: FEEDBACK/SET_REFERENCE <voltage in mV>" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
35
Note: See TracBrowser for help on using the repository browser.