source: MML/trunk/machine/SOLEIL/common/synchro/set_bump_test1_2009.m

Last change on this file was 17, checked in by zhangj, 10 years ago

To have a stable version on the server.

  • Property svn:executable set to *
File size: 805 bytes
Line 
1function set_bump_test1_2009
2
3% deuxiÚme optimisation du bump
4
5%delai0 =31522246; 
6delai0 =5621670;
7voltage0=3000; 
8r=1.;    % ratio global
9r1=1.010 ; % ratio 2 derniers kicker
10
11k=+0;
12
13tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k1.trigStepDelay',delai0-0    + k);
14tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k2.trigStepDelay',delai0+5    + k);
15tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k3.trigStepDelay',delai0+7    + k);
16tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k4.trigStepDelay',delai0+1    + k);
17
18
19tango_write_attribute2('ANS-C01/EP/AL_K.1', 'voltage',5591*r);
20tango_write_attribute2('ANS-C01/EP/AL_K.2', 'voltage',5630*r);
21tango_write_attribute2('ANS-C01/EP/AL_K.3', 'voltage',5592*r);
22tango_write_attribute2('ANS-C01/EP/AL_K.4', 'voltage',5566*r);
23
24
25
26return
27
28
29
Note: See TracBrowser for help on using the repository browser.