source: branches/FACT++_lidctrl_new_eth/ScriptsForDimCtrl/ServiceScripts/SwitchOnBias.dim@ 19779

Last change on this file since 19779 was 14276, checked in by Jens Buss, 12 years ago
initial commit: switch on feedback and bias
File size: 1.5 KB
Line 
1#!dimctrl --exec
2
3# ==========================================================================
4# bring Feedback to state CurrentContro Idle and switch on Bias
5# ==========================================================================
6
7> switching on current controll feedback
8FEEDBACK/STOP
9
10> ... starting current control feedback
11FEEDBACK/START_CURRENT_CONTROL 0.0
12FEEDBACK/ENABLE_OUTPUT yes
13
14# the feedback should be in state 'CurrentCtrlIdle'(9) now since 30.05.12
15> ...waiting for FEEDBACK to be in state 9: CurrentCtrlIdle
16.s FEEDBACK 9
17> ... done, feedback running
18>
19> switching bias on, sending one DAC globally
20
21# now we give the feedback a hint, that it may ramp ...
22BIAS_CONTROL/SET_GLOBAL_DAC 1
23# after this command the bias_ctrl should be in state 'VoltageOn'(9) after a second or so
24
25> ...waiting for BIAS to be in state 9: VoltageOn
26.s BIAS_CONTROL 9
27> ...1 DAC globally set
28
29# then usually it takes some time until the feedback has enough information to really start controlling the voltage
30# when the feedback actually kicks in, the bias is first in state 'Ramping'(5) for some seconds and finally in 'VoltageOn'(9)
31# again
32
33> ...waiting for BIAS to be in state 5: Ramping
34.s BIAS_CONTROL 5
35> ...ramping to nominal voltage
36
37> ...waiting for BIAS to be in state 9: VoltageOn
38.s BIAS_CONTROL 9
39> ...bias on
40
41# here we should wait 45 sec in order for the current control to get enough current readings and temp readings to stabilize..
42> waiting 45sec for the current control to stabilize...
43.w 45000
44> ... done, bias on
Note: See TracBrowser for help on using the repository browser.