2 #######################################
5 bl_instance_path
= '/home/experiences/proxima1/com-proxima1/olga/work/bl_monitoring/bl_instance'
6 print "bl_instance_path = ", bl_instance_path
8 from bl_model
.bl_elems
import *
9 ####################################
12 u20
= motorized_beamModifier( 'u20', # nickname
13 'ans-c10', # vacuum_cell
19 frontend
= beam_stopper( 'frontend', # nickname
20 'tdl-i10-c/vi/tdl.1/frontEndStateValue', # beamAccess_attrFullname
21 [5, 6], # beamAccess_attrVals
25 slit1
= motorized_beamModifier( 'slit1',
28 ['fent_h.1', 'fent_v.1'],
32 imag1
= extractable_beamMonitor( 'imag1',
35 ['imag1-analyzer', 'imag1-pos', 'imag1-vg'],
36 'imag1-pos/isInserted'
39 mono
= motorized_beamModifier( 'mono',
46 slit2
= motorized_beamModifier( 'slit2',
49 ['fent_h.2', 'fent_v.2'],
53 xbpm1
= beam_monitor( 'xbpm1', # nickname
54 'i10-c-c02', # vacuum_cell
56 #['xbpm_diode.1', 'xbpm_diode.1-pos']
57 ['xbpm_diode.1'] # devices
60 obx1
= beam_stopper( 'obx1',
61 'i10-c-c03/ex/obx.1/State',
65 xbpm2
= beam_monitor( 'xbpm2',
68 #['xbpm_diode.2', 'xbpm_diode.2-pos']
72 h_mir
= motorized_beamModifier( 'h_mir',
76 0.001 # delta for Tx ??????????
79 v_mir
= motorized_beamModifier( 'v_mir',
83 0.001 # delta for Tz ??????????
86 att
= motorized_beamModifier( 'att',
90 0.01 # delta for transmission
93 xbpm3
= beam_monitor( 'xbpm3',
99 slit3
= motorized_beamModifier( 'slit3',
102 ['fent_h.3', 'fent_v.3'],
106 xbpm4
= beam_monitor( 'xbpm4',
112 xbpm5
= beam_monitor( 'xbpm5',
118 slit4
= motorized_beamModifier( 'slit4',
121 ['fent_h.4', 'fent_v.4'],
124 #####################################################################################
134 h_mir
, v_mir
, att
, xbpm3
,
138 ###################################################################################
140 ring_current
= continuousEnvironment_elem('ring_current',
147 ring_beam
= continuousEnvironment_elem('ring_beam',
150 ['calc-sdc-position-angle']
152 tdl_beam
= continuousEnvironment_elem('tdl_beam',
158 mono_temp1
= continuousEnvironment_elem('mono_temp1',
165 mono_temp2
= continuousEnvironment_elem('mono_temp2',
172 mir_temp
= continuousEnvironment_elem('mir_temp',
179 gonio_temp
= continuousEnvironment_elem('gonio_temp',
197 ###################################
198 if __name__
== '__main__':
200 xbpm2
.define_blSteadiness(beam_path
)
202 for elem
in xbpm2
.blSteadiness_elems
:
204 for p
in xbpm2
.beamAccess_params
:
205 print p
.attr_fullName