Last change
on this file was 13720, checked in by Jens Buss, 12 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
|
---|
7 | FEEDBACK/STOP
|
---|
8 | .s FEEDBACK 6
|
---|
9 | .w 500
|
---|
10 | BIAS_CONTROL/SET_ZERO_VOLTAGE
|
---|
11 | .s BIAS_CONTROL 7
|
---|
12 | .w 10000
|
---|
13 | BIAS_CONTROL/SET_GLOBAL_DAC 1
|
---|
14 | .s BIAS_CONTROL 9
|
---|
15 | FEEDBACK/START_CURRENT_CONTROL 0.0
|
---|
16 | .w 500
|
---|
17 | FEEDBACK/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
|
---|
23 | FEEDBACK/STOP
|
---|
24 | FEEDBACK/START_GLOBAL_FEEDBACK 25
|
---|
25 | FEEDBACK/SET_REFERENCE 100
|
---|
26 |
|
---|
27 | FAD_CONTROL/SET_FILE_FORMAT 0
|
---|
28 | .! echo `date -u` "Starting Ext. Lightpulser run for 100 Events!!!!!" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
|
---|
29 | MCP/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.