source: MML/trunk/machine/SOLEIL/Booster/applications/inject.m @ 4

Last change on this file since 4 was 4, checked in by zhangj, 11 years ago

Initial import--MML version from SOLEIL@2013

File size: 933 bytes
Line 
1%  reglage correcteur verticaux LT1 pour injection booster
2
3zinj = [-2 -0.5] ;
4
5%zinj = [0.5 -0.2] ;   % SPM janv 2009  95% LPM
6%zinj = [0.3 -0.1] ;  % SPM mai 2007  95% LPM
7%zinj = [-0.5 -0.] ;  % LPM mai 2007  95% LPM
8%zinj = [1  -0.1];  % SPM2
9%zinj = [0  -0.2] ;           % SPM1
10%zinj = [1.  -0.3] ;        % LPM
11%zinj = [-2.  -0.5] ;        % pos (mm) et angle (mrad)
12%zinj = [-2.  -0.5] ;
13
14
15m1   =[ 0.0923 -0.4244 ; 0.0738 1.66 ] ;
16klt1 = m1*zinj'/1.2  ;  % corr 2 et 3 en A 
17
18klt1=klt1;
19
20fprintf('************************\n')
21fprintf(' Courant correcteur LT1      CV.2: %g A    et     CV.3: %g A \n', klt1)
22
23kinit1=0.;
24kinit2=0.;
25 
26
27tango_write_attribute('LT1/AE/CV.2', 'current', (klt1(1)) );
28tango_write_attribute('LT1/AE/CV.3', 'current', (klt1(2)) );
29 
30CV2=readattribute('LT1/AE/CV.2/current');
31CV3=readattribute('LT1/AE/CV.3/current');
32fprintf(' Lecture correcteur LT1      CV.2: %g A    et     CV.3: %g A \n', klt1)
Note: See TracBrowser for help on using the repository browser.