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_run1_2009</title> |
---|
6 | <meta name="keywords" content="set_bump_run1_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_run1_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_run1_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_run7_2008 </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_run7_2008</a> |
---|
46 | 0002 |
---|
47 | 0003 <span class="comment">% deuxiÚme optimisation du bump</span> |
---|
48 | 0004 |
---|
49 | 0005 <span class="comment">%delai0 =31522246;</span> |
---|
50 | 0006 delai0 =5621670; |
---|
51 | 0007 voltage0=3000; |
---|
52 | 0008 r=0.9; <span class="comment">% ratio global</span> |
---|
53 | 0009 r1=1.010 ; <span class="comment">% ratio 2 derniers kicker</span> |
---|
54 | 0010 |
---|
55 | 0011 k=+0; |
---|
56 | 0012 |
---|
57 | 0013 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k1.trigStepDelay'</span>,delai0-0 + k); |
---|
58 | 0014 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k2.trigStepDelay'</span>,delai0+3 +3 + k); |
---|
59 | 0015 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k3.trigStepDelay'</span>,delai0+2 + k); |
---|
60 | 0016 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k4.trigStepDelay'</span>,delai0+4 +1 + k); |
---|
61 | 0017 |
---|
62 | 0018 |
---|
63 | 0019 tango_write_attribute2(<span class="string">'ANS-C01/EP/AL_K.1'</span>, <span class="string">'voltage'</span>,(((6240+0)*r) -40 +35 )); |
---|
64 | 0020 tango_write_attribute2(<span class="string">'ANS-C01/EP/AL_K.2'</span>, <span class="string">'voltage'</span>,(((6200-0)*r) +30 )); |
---|
65 | 0021 tango_write_attribute2(<span class="string">'ANS-C01/EP/AL_K.3'</span>, <span class="string">'voltage'</span>,(((6050+0)*r)*r1+68 )); |
---|
66 | 0022 tango_write_attribute2(<span class="string">'ANS-C01/EP/AL_K.4'</span>, <span class="string">'voltage'</span>,(((6200+0)*r)*r1-100 +35 )); |
---|
67 | 0023 |
---|
68 | 0024 |
---|
69 | 0025 |
---|
70 | 0026 <span class="keyword">return</span> |
---|
71 | 0027 |
---|
72 | 0028 |
---|
73 | 0029</pre></div> |
---|
74 | <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> |
---|
75 | </body> |
---|
76 | </html> |
---|