source: branches/FACT++_lidctrl_usb/ScriptsForDimCtrl/RampingBias.dim@ 20115

Last change on this file since 20115 was 14344, checked in by Jens Buss, 12 years ago
add output
File size: 1.4 KB
Line 
1#!dimctrl --exec
2
3> --------------------------------------
4> test biasctrl
5> --------------------------------------
6> Ramping bias up and down
7
8# this is just a test, to check the order of states of biasctrl while ramping.
9
10> ...enabling feedback
11FEEDBACK/ENABLE_OUTPUT 1
12
13> ...changing file formate to: NONE
14FAD_CONTROL/SET_FILE_FORMAT 0
15
16> ...waiting for BIAS_CONTROL
17> to be in state 7: VoltageOff
18.s BIAS_CONTROL 7
19
20> ...changing file formate to: FITS
21FAD_CONTROL/SET_FILE_FORMAT 2
22.w 500
23
24> ...changing file formate to: NONE
25FAD_CONTROL/SET_FILE_FORMAT 0
26
27# Bias ist Off .. switching it on
28BIAS_CONTROL/SET_GLOBAL_DAC 1
29
30> ...waiting for BIAS_CONTROL
31> to be in state 9: VoltageOn
32.s BIAS_CONTROL 9
33
34> ...waiting for BIAS_CONTROL
35> to be in state 5: Ramping
36.s BIAS_CONTROL 5
37
38> ...waiting for BIAS_CONTROL
39> to be in state 9: VoltageOn
40.s BIAS_CONTROL 9
41
42> ...changing file formate to: FITS
43FAD_CONTROL/SET_FILE_FORMAT 2
44.w 500
45
46> ...changing file formate to: NONE
47FAD_CONTROL/SET_FILE_FORMAT 0
48.w 2000
49
50# Bias ist On .. switching it off
51BIAS_CONTROL/SET_ZERO_VOLTAGE
52
53> ...waiting for BIAS_CONTROL
54> to be in state 7: VoltageOff
55.s BIAS_CONTROL 7
56
57> ...changing file formate to: FITS
58FAD_CONTROL/SET_FILE_FORMAT 2
59.w 500
60
61> ...changing file formate to: NONE
62FAD_CONTROL/SET_FILE_FORMAT 0
63
64> --------------------------------------
65> ramped Bias up and down successfully
66> --------------------------------------
Note: See TracBrowser for help on using the repository browser.