1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" |
---|
2 | "http://www.w3.org/TR/REC-html40/loose.dtd"> |
---|
3 | <html> |
---|
4 | <head> |
---|
5 | <title>Description of set_bump_test4_2009</title> |
---|
6 | <meta name="keywords" content="set_bump_test4_2009"> |
---|
7 | <meta name="description" content="deuxiÚme optimisation du bump"> |
---|
8 | <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> |
---|
9 | <meta name="generator" content="m2html v1.5 © 2003-2005 Guillaume Flandin"> |
---|
10 | <meta name="robots" content="index, follow"> |
---|
11 | <link type="text/css" rel="stylesheet" href="../../../../m2html.css"> |
---|
12 | </head> |
---|
13 | <body> |
---|
14 | <a name="_top"></a> |
---|
15 | <div><a href="../../../../index.html">Home</a> > <a href="#">machine</a> > <a href="#">Soleil</a> > <a href="../index.html">common</a> > <a href="index.html">synchro</a> > set_bump_test4_2009.m</div> |
---|
16 | |
---|
17 | <!--<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png"> Master index</a></td> |
---|
18 | <td align="right"><a href="index.html">Index for machine/Soleil/common/synchro <img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>--> |
---|
19 | |
---|
20 | <h1>set_bump_test4_2009 |
---|
21 | </h1> |
---|
22 | |
---|
23 | <h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2> |
---|
24 | <div class="box"><strong>deuxiÚme optimisation du bump</strong></div> |
---|
25 | |
---|
26 | <h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2> |
---|
27 | <div class="box"><strong>function set_bump_test3_2009 </strong></div> |
---|
28 | |
---|
29 | <h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2> |
---|
30 | <div class="fragment"><pre class="comment"> deuxiÚme optimisation du bump</pre></div> |
---|
31 | |
---|
32 | <!-- crossreference --> |
---|
33 | <h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2> |
---|
34 | This function calls: |
---|
35 | <ul style="list-style-image:url(../../../../matlabicon.gif)"> |
---|
36 | </ul> |
---|
37 | This function is called by: |
---|
38 | <ul style="list-style-image:url(../../../../matlabicon.gif)"> |
---|
39 | </ul> |
---|
40 | <!-- crossreference --> |
---|
41 | |
---|
42 | |
---|
43 | |
---|
44 | <h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2> |
---|
45 | <div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function set_bump_test3_2009</a> |
---|
46 | 0002 |
---|
47 | 0003 <span class="comment">% deuxiÚme optimisation du bump</span> |
---|
48 | 0004 |
---|
49 | 0005 <span class="comment">% standard run 2</span> |
---|
50 | 0006 tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k1.trigStepDelay'</span>); <span class="comment">% 5621670</span> |
---|
51 | 0007 tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k2.trigStepDelay'</span>); <span class="comment">% 5621673</span> |
---|
52 | 0008 tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k3.trigStepDelay'</span>); <span class="comment">% 5621674</span> |
---|
53 | 0009 tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k4.trigStepDelay'</span>); <span class="comment">% 5621670</span> |
---|
54 | 0010 |
---|
55 | 0011 tango_read_attribute2(<span class="string">'ANS-C01/EP/AL_K.1'</span>, <span class="string">'voltage'</span> ); <span class="comment">% 5.8064e+03</span> |
---|
56 | 0012 tango_read_attribute2(<span class="string">'ANS-C01/EP/AL_K.2'</span>, <span class="string">'voltage'</span>); <span class="comment">% 5.8685e+03</span> |
---|
57 | 0013 tango_read_attribute2(<span class="string">'ANS-C01/EP/AL_K.3'</span>, <span class="string">'voltage'</span>); <span class="comment">% 5.8153e+03</span> |
---|
58 | 0014 tango_read_attribute2(<span class="string">'ANS-C01/EP/AL_K.4'</span>, <span class="string">'voltage'</span>); <span class="comment">% 5.8034e+03</span> |
---|
59 | 0015 |
---|
60 | 0016 |
---|
61 | 0017 <span class="comment">%delai0 =31522246;</span> |
---|
62 | 0018 delai0 =5621670; |
---|
63 | 0019 voltage0=3000; |
---|
64 | 0020 r=1.04; <span class="comment">% ratio global</span> |
---|
65 | 0021 r1=1.010 ; <span class="comment">% ratio 2 derniers kicker</span> |
---|
66 | 0022 |
---|
67 | 0023 k=+0; |
---|
68 | 0024 |
---|
69 | 0025 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k1.trigStepDelay'</span>,delai0-0 + k); |
---|
70 | 0026 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k2.trigStepDelay'</span>,delai0+3 + k); |
---|
71 | 0027 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k3.trigStepDelay'</span>,delai0+5 + k); |
---|
72 | 0028 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k4.trigStepDelay'</span>,delai0-2 + k); |
---|
73 | 0029 |
---|
74 | 0030 |
---|
75 | 0031 tango_write_attribute2(<span class="string">'ANS-C01/EP/AL_K.1'</span>, <span class="string">'voltage'</span>,5591*r-10 ); |
---|
76 | 0032 tango_write_attribute2(<span class="string">'ANS-C01/EP/AL_K.2'</span>, <span class="string">'voltage'</span>,5630*r+10); |
---|
77 | 0033 tango_write_attribute2(<span class="string">'ANS-C01/EP/AL_K.3'</span>, <span class="string">'voltage'</span>,5592*r-10); |
---|
78 | 0034 tango_write_attribute2(<span class="string">'ANS-C01/EP/AL_K.4'</span>, <span class="string">'voltage'</span>,5566*r+05); |
---|
79 | 0035 |
---|
80 | 0036 |
---|
81 | 0037 |
---|
82 | 0038 <span class="keyword">return</span> |
---|
83 | 0039 |
---|
84 | 0040 |
---|
85 | 0041</pre></div> |
---|
86 | <hr><address>Generated on Fri 23-Jul-2010 00:42:07 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/" title="Matlab Documentation in HTML">m2html</a></strong> © 2005</address> |
---|
87 | </body> |
---|
88 | </html> |
---|