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
|
---|
11 | FEEDBACK/ENABLE_OUTPUT 1
|
---|
12 |
|
---|
13 | > ...changing file formate to: NONE
|
---|
14 | FAD_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
|
---|
21 | FAD_CONTROL/SET_FILE_FORMAT 2
|
---|
22 | .w 500
|
---|
23 |
|
---|
24 | > ...changing file formate to: NONE
|
---|
25 | FAD_CONTROL/SET_FILE_FORMAT 0
|
---|
26 |
|
---|
27 | # Bias ist Off .. switching it on
|
---|
28 | BIAS_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
|
---|
43 | FAD_CONTROL/SET_FILE_FORMAT 2
|
---|
44 | .w 500
|
---|
45 |
|
---|
46 | > ...changing file formate to: NONE
|
---|
47 | FAD_CONTROL/SET_FILE_FORMAT 0
|
---|
48 | .w 2000
|
---|
49 |
|
---|
50 | # Bias ist On .. switching it off
|
---|
51 | BIAS_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
|
---|
58 | FAD_CONTROL/SET_FILE_FORMAT 2
|
---|
59 | .w 500
|
---|
60 |
|
---|
61 | > ...changing file formate to: NONE
|
---|
62 | FAD_CONTROL/SET_FILE_FORMAT 0
|
---|
63 |
|
---|
64 | > --------------------------------------
|
---|
65 | > ramped Bias up and down successfully
|
---|
66 | > --------------------------------------
|
---|