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 | |
---|
3 | zinj = [-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 | |
---|
15 | m1 =[ 0.0923 -0.4244 ; 0.0738 1.66 ] ; |
---|
16 | klt1 = m1*zinj'/1.2 ; % corr 2 et 3 en A |
---|
17 | |
---|
18 | klt1=klt1; |
---|
19 | |
---|
20 | fprintf('************************\n') |
---|
21 | fprintf(' Courant correcteur LT1 CV.2: %g A et CV.3: %g A \n', klt1) |
---|
22 | |
---|
23 | kinit1=0.; |
---|
24 | kinit2=0.; |
---|
25 | |
---|
26 | |
---|
27 | tango_write_attribute('LT1/AE/CV.2', 'current', (klt1(1)) ); |
---|
28 | tango_write_attribute('LT1/AE/CV.3', 'current', (klt1(2)) ); |
---|
29 | |
---|
30 | CV2=readattribute('LT1/AE/CV.2/current'); |
---|
31 | CV3=readattribute('LT1/AE/CV.3/current'); |
---|
32 | fprintf(' Lecture correcteur LT1 CV.2: %g A et CV.3: %g A \n', klt1) |
---|
Note: See
TracBrowser
for help on using the repository browser.