source: MML/trunk/machine/SOLEIL/common/synchro/get_synchro_delay_nooffset.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: 7.6 KB
Line 
1function get_synchro_delay_nooffset(handles)
2n=1;
3
4temp=tango_read_attribute2('ANS/SY/CENTRAL', 'TSprTimeDelay');
5set(handles.central_spare,'String',num2str(temp.value(n)));
6
7temp=tango_read_attribute2('ANS/SY/CENTRAL', 'TInjTimeDelay');
8set(handles.central_inj,'String',num2str(temp.value(n)));
9
10temp=tango_read_attribute2('ANS/SY/CENTRAL', 'TSoftTimeDelay');
11%set(handles.central_soft,'String',num2str(temp.value(n)));
12
13temp=tango_read_attribute('ANS/SY/CENTRAL', 'ExtractionOffsetTimeValue');
14set(handles.central_ext,'String',num2str(temp.value(n)));
15
16
17temp=tango_read_attribute2('ANS/SY/LOCAL.SDC.1', 'oscTimeDelay');
18set(handles.sdc1,'String',num2str(temp.value(n)));
19
20temp=tango_read_attribute2('LIN/SY/LOCAL.LPM.1', 'lpmTimeDelay');
21set(handles.lin_canon_lpm,'String',num2str(temp.value(n)));
22
23temp=tango_read_attribute2('LIN/SY/LOCAL.SPM.1', 'spmLinacTimeDelay');
24set(handles.lin_canon_spm,'String',num2str(temp.value(n)));
25
26
27temp=tango_read_attribute2('BOO/SY/LOCAL.DG.1', 'bpm-bta.trigTimeDelay');
28set(handles.boo_bpm,'String',num2str(temp.value(n)));
29
30temp=tango_read_attribute2('LT1/SY/LOCAL.DG.1', 'emittanceTimeDelay');
31set(handles.lt1_emittance,'String',num2str(temp.value(n)));
32
33temp=tango_read_attribute2('LT1/SY/LOCAL.DG.1', 'mc.1TimeDelay');
34set(handles.lt1_MC1,'String',num2str(temp.value(n)));
35
36temp=tango_read_attribute2('LT1/SY/LOCAL.DG.1', 'mc.2TimeDelay');
37set(handles.lt1_MC2,'String',num2str(temp.value(n)));
38
39temp=tango_read_attribute2('LT1/SY/LOCAL.DG.1', 'oscTimeDelay');
40set(handles.lt1_osc,'String',num2str(temp.value(n)));
41
42temp=tango_read_attribute2('LT1/SY/LOCAL.DG.1', 'dcct-booTimeDelay');
43set(handles.boo_dcct,'String',num2str(temp.value(n)));
44
45temp=tango_read_attribute2('BOO/SY/LOCAL.DG.3', 'bpm-onde.trigTimeDelay');
46set(handles.boo_nod,'String',num2str(temp.value(n)));
47
48temp=tango_read_attribute2('BOO/SY/LOCAL.Binj.1', 'sep-p.trigTimeDelay');
49set(handles.boo_inj_septum,'String',num2str(temp.value(n)));
50
51temp=tango_read_attribute2('BOO/SY/LOCAL.Binj.1', 'k.trigTimeDelay');
52set(handles.boo_inj_kicker,'String',num2str(temp.value(n)));
53
54temp=tango_read_attribute2('BOO/SY/LOCAL.ALIM.1', 'dpTimeDelay');
55set(handles.boo_alim_dipole,'String',num2str(temp.value(n)));
56
57temp=tango_read_attribute2('BOO/SY/LOCAL.ALIM.1', 'qfTimeDelay');
58set(handles.boo_alim_qf,'String',num2str(temp.value(n)));
59
60temp=tango_read_attribute2('BOO/SY/LOCAL.ALIM.1', 'qdTimeDelay');
61set(handles.boo_alim_qd,'String',num2str(temp.value(n)));
62
63temp=tango_read_attribute2('BOO/SY/LOCAL.ALIM.1', 'sfTimeDelay');
64set(handles.boo_alim_sf,'String',num2str(temp.value(n)));
65
66temp=tango_read_attribute2('BOO/SY/LOCAL.ALIM.1', 'sdTimeDelay');
67set(handles.boo_alim_sd,'String',num2str(temp.value(n)));
68
69temp=tango_read_attribute2('BOO/SY/LOCAL.RF.1', 'rfTimeDelay');
70set(handles.boo_rf,'String',num2str(temp.value(n)));
71
72temp=tango_read_attribute2('BOO/SY/LOCAL.ALIM.1', 'compTimeDelay');
73set(handles.boo_alim_cp,'String',num2str(temp.value(n)));
74
75
76temp=tango_read_attribute2('LIN/SY/LOCAL.LPM.1', 'spareTimeDelay');
77set(handles.lin_modulateur,'String',num2str(temp.value(n)));
78
79
80
81
82
83temp=tango_read_attribute2('BOO/SY/LOCAL.Bext.1', 'dof.trigTimeDelay');
84set(handles.boo_ext_dof,'String',num2str(temp.value(n)));
85
86temp=tango_read_attribute2('BOO/SY/LOCAL.Bext.1', 'sep-p.trigTimeDelay');
87set(handles.boo_ext_sept_p,'String',num2str(temp.value(n)));
88
89temp=tango_read_attribute2('BOO/SY/LOCAL.Bext.1', 'sep-a.trigTimeDelay');
90set(handles.boo_ext_sept_a,'String',num2str(temp.value(n)));
91
92temp=tango_read_attribute2('BOO/SY/LOCAL.Bext.1', 'k.trigTimeDelay');
93set(handles.boo_ext_kicker,'String',num2str(temp.value(n)));
94
95
96temp=tango_read_attribute2('ANS/SY/LOCAL.SDC.1', 'spareTimeDelay');
97set(handles.sdc2,'String',num2str(temp.value(n)));
98
99temp=tango_read_attribute2('LT2/SY/LOCAL.DG.1', 'mrsvTimeDelay');
100set(handles.lt2_emittance,'String',num2str(temp.value(n)));
101
102temp=tango_read_attribute2('LT2/SY/LOCAL.DG.1', 'osc-fctTimeDelay');
103set(handles.lt2_osc,'String',num2str(temp.value(n)));
104
105temp=tango_read_attribute2('LT2/SY/LOCAL.DG.2', 'bpm.trigTimeDelay');
106set(handles.lt2_bpm,'String',num2str(temp.value(n)));
107
108
109
110temp=tango_read_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k1.trigTimeDelay');
111set(handles.ans_inj_k1,'String',num2str(temp.value(n)));
112
113temp=tango_read_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k2.trigTimeDelay');
114set(handles.ans_inj_k2,'String',num2str(temp.value(n)));
115
116temp=tango_read_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k3.trigTimeDelay');
117set(handles.ans_inj_k3,'String',num2str(temp.value(n)));
118
119temp=tango_read_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k4.trigTimeDelay');
120set(handles.ans_inj_k4,'String',num2str(temp.value(n)));
121
122temp=tango_read_attribute2('ANS-C01/SY/LOCAL.Ainj.2', 'sep-p.trigTimeDelay');
123set(handles.ans_inj_sept_p,'String',num2str(temp.value(n)));
124
125temp=tango_read_attribute2('ANS-C01/SY/LOCAL.Ainj.2', 'sep-a.trigTimeDelay');
126set(handles.ans_inj_sept_a,'String',num2str(temp.value(n)));
127
128temp=tango_read_attribute2('ANS-C14/SY/LOCAL.DG.1', 'perteTimeDelay');
129set(handles.ans_dcct,'String',num2str(temp.value(n)));
130
131temp=tango_read_attribute2('ANS-C07/SY/LOCAL.DG.1', 'libre.1TimeDelay');
132set(handles.ans_fbt,'String',num2str(temp.value(n)));
133
134temp=tango_read_attribute2('ANS-C01/SY/LOCAL.DG.2', 'bpm.trigTimeDelay');
135set(handles.ans_bpm_c01,'String',num2str(temp.value(n)));
136temp=tango_read_attribute2('ANS-C02/SY/LOCAL.DG.1', 'bpm.trigTimeDelay');
137set(handles.ans_bpm_c02,'String',num2str(temp.value(n)));
138temp=tango_read_attribute2('ANS-C03/SY/LOCAL.DG.1', 'bpm.trigTimeDelay');
139set(handles.ans_bpm_c03,'String',num2str(temp.value(n)));
140temp=tango_read_attribute2('ANS-C04/SY/LOCAL.DG.1', 'bpm.trigTimeDelay');
141set(handles.ans_bpm_c04,'String',num2str(temp.value(n)));
142temp=tango_read_attribute2('ANS-C05/SY/LOCAL.DG.1', 'bpm.trigTimeDelay');
143set(handles.ans_bpm_c05,'String',num2str(temp.value(n)));
144temp=tango_read_attribute2('ANS-C06/SY/LOCAL.DG.1', 'bpm.trigTimeDelay');
145set(handles.ans_bpm_c06,'String',num2str(temp.value(n)));
146temp=tango_read_attribute2('ANS-C07/SY/LOCAL.DG.1', 'bpm.trigTimeDelay');
147set(handles.ans_bpm_c07,'String',num2str(temp.value(n)));
148temp=tango_read_attribute2('ANS-C08/SY/LOCAL.DG.1', 'bpm.trigTimeDelay');
149set(handles.ans_bpm_c08,'String',num2str(temp.value(n)));
150temp=tango_read_attribute2('ANS-C09/SY/LOCAL.DG.1', 'bpm.trigTimeDelay');
151set(handles.ans_bpm_c09,'String',num2str(temp.value(n)));
152temp=tango_read_attribute2('ANS-C10/SY/LOCAL.DG.1', 'bpm.trigTimeDelay');
153set(handles.ans_bpm_c10,'String',num2str(temp.value(n)));
154temp=tango_read_attribute2('ANS-C11/SY/LOCAL.DG.1', 'bpm.trigTimeDelay');
155set(handles.ans_bpm_c11,'String',num2str(temp.value(n)));
156temp=tango_read_attribute2('ANS-C12/SY/LOCAL.DG.1', 'bpm.trigTimeDelay');
157set(handles.ans_bpm_c12,'String',num2str(temp.value(n)));
158temp=tango_read_attribute2('ANS-C13/SY/LOCAL.DG.1', 'bpm.trigTimeDelay');
159set(handles.ans_bpm_c13,'String',num2str(temp.value(n)));
160temp=tango_read_attribute2('ANS-C14/SY/LOCAL.DG.1', 'bpm.trigTimeDelay');
161set(handles.ans_bpm_c14,'String',num2str(temp.value(n)));
162temp=tango_read_attribute2('ANS-C15/SY/LOCAL.DG.1', 'bpm.trigTimeDelay');
163set(handles.ans_bpm_c15,'String',num2str(temp.value(n)));
164temp=tango_read_attribute2('ANS-C16/SY/LOCAL.DG.1', 'bpm.trigTimeDelay');
165set(handles.ans_bpm_c16,'String',num2str(temp.value(n)));
166
167temp=tango_read_attribute2('ANS-C01/SY/LOCAL.EP.1', 'k-h.trigTimeDelay');
168try txt=num2str(temp.value(n)); catch txt=bug_device ; end
169set(handles.ans_k_h,'String',txt);
170temp=tango_read_attribute2('ANS-C01/SY/LOCAL.EP.1', 'k-v.trigTimeDelay');
171try txt=num2str(temp.value(n)); catch txt=bug_device ; end
172set(handles.ans_k_v,'String',txt);
173temp=tango_read_attribute2('ANS-C01/SY/LOCAL.EP.1', 'k-hv.pcTimeDelay');
174try txt=num2str(temp.value(n)); catch txt=bug_device ; end
175set(handles.ans_k_pc,'String',txt);
Note: See TracBrowser for help on using the repository browser.