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