Commit a06ae165 authored by Claudio Scafuri's avatar Claudio Scafuri 💬
Browse files

first import from cvs repo fermi/servers/supergap/Felmaster release_35

parent 5ac5b168
.pydevproject
.project
.cproject
.settings
obj
bin
core*
*~
*.pyc
*.so
*.so*
.pylintrc
.metadata
.idea
.cvsignore
.nse_depinfo
software
oldsrc
CVS
*-srv
NAME_SRV=felmaster
PY_FILES += $(wildcard src/*.py)
default: bin/${NAME_SRV} ${PY_FILES}
@cp ${PY_FILES} bin/${NAME_SRV}
bin/${NAME_SRV}:
@test -d $@ || mkdirhier $@
clean:
@rm -fr bin/ src/*~
.PHONY: clean
# felmaster
# Project Name
top level server for coordinating FEL wavelenght changes of FERMI
\ No newline at end of file
felmaster
## Description
top level server for coordinating FEL wavelenght changes of FERMI
## Dependencies
The device is written in python 2.7 and needs the tango python bindings
## Installation & deployment
use INAU facility
## History
2020-03-27 imported from CVS repo fermi/server/supergap/FelMaster release_35
## Credits
developed by Claudio Scafuri
Elettra-Sincrotrone Trieste S.C.p.A. di interesse nazionale
Strada Statale 14 - km 163,5 in AREA Science Park
34149 Basovizza, Trieste ITALY
## License
GPL 3
Return-Path: <giulio.gaio@elettra.eu>
Received: from zmp.elettra.trieste.it (LHLO zmp.elettra.eu)
(140.105.206.204) by zms.elettra.eu with LMTP; Tue, 5 Nov 2019 17:36:10
+0100 (CET)
Received: from zmp.elettra.eu (localhost [127.0.0.1])
by zmp.elettra.eu (Postfix) with ESMTPS id CF43114143DE;
Tue, 5 Nov 2019 17:36:10 +0100 (CET)
Received: from localhost (localhost [127.0.0.1])
by zmp.elettra.eu (Postfix) with ESMTP id BFA7414143D3;
Tue, 5 Nov 2019 17:36:10 +0100 (CET)
X-Virus-Scanned: amavisd-new at zmp.elettra.eu
Received: from zmp.elettra.eu ([127.0.0.1])
by localhost (zmp.elettra.eu [127.0.0.1]) (amavisd-new, port 10026)
with ESMTP id oaVUsnRcChA3; Tue, 5 Nov 2019 17:36:10 +0100 (CET)
Received: from [192.168.205.70] (lothar.elettra.trieste.it [192.168.205.70])
by zmp.elettra.eu (Postfix) with ESMTPSA id A268714143D2;
Tue, 5 Nov 2019 17:36:10 +0100 (CET)
To: Claudio Scafuri <claudio.scafuri@elettra.eu>
Cc: Marco Lonza <marco.lonza@elettra.eu>
From: Giulio Gaio <giulio.gaio@elettra.eu>
Subject: sequencers pre post supergap
Message-ID: <87f2ba91-dcd3-711e-f369-578e5c40592b@elettra.trieste.it>
Date: Tue, 5 Nov 2019 17:36:10 +0100
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101
Thunderbird/60.9.0
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: quoted-printable
Ciao Claudio,
ho creato 6 sequencers pre e post di FEL1, FEL2 primo stadio e FEL2=20
secondo stadio.
L'istanza gira su srv-ds-srf-01 (sequencerconf-srv/felmaster).
I device sono:
seq/init/pre_master_fel01.01
seq/init/post_master_fel01.01
seq/init/pre_master_s01_fel02.01
seq/init/post_master_s01_fel02.01
seq/init/pre_master_s02_fel02.01
seq/init/post_master_s02_fel02.01
Il nuovo naming dei sequencers segue la convenzione percui=C2=A0 vanno tu=
tti=20
sotto la radice seq, la seconda parte del nome contiene l'azione del=20
sequencer (vedi Elettra dove ci sono piu' casi) e la terza riporta i=20
dispositivi piu' significativi coinvolti.
Al momento i sequencers eseguono uno step che lancia uno script python=20
dedicato per ogni sequencer che dorme 3 secondi.
Gli script si trovano su srv-net-srf nella directory=20
/runtime/sequences/python (come su Elettra).
Gli script sono:
post_master_fel01_01.py
post_master_s01_fel02_01.py
post_master_s02_fel02_01.py
pre_master_fel01_01.py
pre_master_s01_fel02_01.py
pre_master_s02_fel02_01.py
Il riferimento degli script si trova su compile@ken in=20
devel/utils/sequencers, l'albero non e' sotto cvs, ho parlato con=20
Lorenzo, a dicembre verra' ristrutturato ed integrato nella nuova=20
procedura di installazione sotto gitlab.
Il comando Start fa partire l'esecuzione della sequenza, lo stato va in=20
RUNNING e termina o in FAULT o in OFF.
--=20
Giulio Gaio
Elettra - Sincrotrone Trieste S.C.p.A.
S.S. 14 - km 163,5 in AREA Science Park
IT-34149 Basovizza, Trieste (IT)
Phone: +39 0403758358
Mobile: +39 3346482636
#
# Resource backup , created Wed Aug 08 09:57:19 CEST 2018
#
#---------------------------------------------------------
# SERVER SuperGap/lh, SuperGap device declaration
#---------------------------------------------------------
SuperGap/lh/DEVICE/SuperGap: "lh/id/id_mod_lh.01"
# --- lh/id/id_mod_lh.01 properties
lh/id/id_mod_lh.01->E_0: 0.09544194990597907
lh/id/id_mod_lh.01->Is_modulator: true
lh/id/id_mod_lh.01->Num_periods: 12
lh/id/id_mod_lh.01->ParkingGap: 150
lh/id/id_mod_lh.01->Period_length: 40.36
lh/id/id_mod_lh.01->polled_attr: undulatorgapphatap,\
2000,\
state,\
3000
lh/id/id_mod_lh.01->RollOff_calibration_name: "/runtime/servers/etc/lhu/rolloff_LHU_40.36.csv"
lh/id/id_mod_lh.01->Undulator_calibration_name: "/runtime/servers/etc/lhu/LPU_LH.csv"
lh/id/id_mod_lh.01->Undulator_device_name: "lh/insertion_device/id_lh.01"
lh/id/id_mod_lh.01->windowTitle: "LPU lh"
lh/id/id_mod_lh.01->__SubDevices: "lh/insertion_device/id_lh.01"
# --- lh/id/id_mod_lh.01 attribute properties
lh/id/id_mod_lh.01/DeltaE->description: "Offset to electron energy used for calculating undulator parameters, in MeV."
lh/id/id_mod_lh.01/DeltaE->display_unit: MeV
lh/id/id_mod_lh.01/DeltaE->event_period: 1000
lh/id/id_mod_lh.01/DeltaE->format: %4.1f
lh/id/id_mod_lh.01/DeltaE->label: "energy offset"
lh/id/id_mod_lh.01/DeltaE->max_value: 1000.0
lh/id/id_mod_lh.01/DeltaE->min_value: -1000.0
lh/id/id_mod_lh.01/DeltaE->standard_unit: 1
lh/id/id_mod_lh.01/DeltaE->unit: MeV
lh/id/id_mod_lh.01/DeltaGap->format: %5.1f
lh/id/id_mod_lh.01/DeltaGap->max_value: 100000
lh/id/id_mod_lh.01/DeltaGap->min_value: -100000
lh/id/id_mod_lh.01/ElectronEnergy->max_value: 0.2
lh/id/id_mod_lh.01/ElectronEnergy->min_value: 0.01
#---------------------------------------------------------
# CLASS SuperGap properties
#---------------------------------------------------------
CLASS/SuperGap->cvs_location: "/home/cvsadm/cvsroot/fermi/servers/supergap/supergap/src/"
CLASS/SuperGap->Description: "Supervisor for Sasaky type undulator."
CLASS/SuperGap->doc_url: "http://www.esrf.eu/computing/cs/tango/tango_doc/ds_doc/"
CLASS/SuperGap->Energy_device_attribute_name: "f/misc/beam_status_f/DBD_Energy"
CLASS/SuperGap->E_0: 1.2
CLASS/SuperGap->Gap: position
CLASS/SuperGap->Harmon_device_attribute_name: "f/misc/beam_status_f/FEL01_harmonic_number"
CLASS/SuperGap->InheritedFrom: TANGO_BASE_CLASS
CLASS/SuperGap->Lambda0: 100.0
CLASS/SuperGap->Lambda_seed_device_attribute_name: "f/misc/beam_status_f/SL01_wavelength"
CLASS/SuperGap->Polarization_device_attribute_name: "f/misc/beam_status_f/FEL01_pol_status"
CLASS/SuperGap->ProjectTitle: "TANGO Device Server"
# --- dserver/SuperGap/lh properties
dserver/SuperGap/lh->polling_threads_pool_conf: "lh/id/id_mod_lh.01"
300 20.2
301.88 19.9
304.07 19
306.16 18.2
307.81 17.5
310.08 15
339.44 5.2
342.51 4.8
344.37 4
346.08 3
347.91 2.5
350.26 2
352.21 1.4
353.64 1.1
356.09 0.6
358.16 0
359.19 0
361.78 0
363.72 0
365.79 0
266 0.00
267 0.09
268 0.18
269 0.27
270 0.36
271 0.44
272 0.52
273 0.60
274 0.68
275 0.75
276 0.82
277 0.89
278 0.96
279 1.02
280 1.09
281 1.15
282 1.21
283 1.26
284 1.32
285 1.37
286 1.42
287 1.46
288 1.51
289 1.55
290 1.59
\ No newline at end of file
275 0
280 0.65669
285 1.23753
290 1.74823
295 2.19448
300 2.58199
310 3.20356
312.5 3.33114
315 3.44902
320 3.65853
325 3.8378
330 3.99251
335 4.12836
340 4.25107
345 4.36632
350 4.47982
355 4.59726
360 4.72435
365 4.86678
370 5.03025
2.2800000e+02 -1.0070896e+00
2.2900000e+02 -7.4470061e-01
2.3000000e+02 -5.1783734e-01
2.3100000e+02 -3.2145963e-01
2.3200000e+02 -1.5052725e-01
2.3300000e+02 0.0000000e+00
2.3400000e+02 1.3516235e-01
2.3500000e+02 2.6000000e-01
2.3600000e+02 3.7955317e-01
2.3700000e+02 4.9886208e-01
2.3800000e+02 6.2276113e-01
2.3900000e+02 7.5135128e-01
2.4000000e+02 8.8000000e-01
2.4100000e+02 1.0051409e+00
2.4200000e+02 1.1282951e+00
2.4300000e+02 1.2519855e+00
2.4400000e+02 1.3725217e+00
2.4500000e+02 1.4800000e+00
2.4600000e+02 1.5690592e+00
2.4700000e+02 1.6535890e+00
2.4800000e+02 1.7513879e+00
2.4900000e+02 1.8594569e+00
2.5000000e+02 1.9540000e+00
2.5100000e+02 2.0210772e+00
2.5200000e+02 2.0897899e+00
2.5300000e+02 2.2000000e+00
2.5400000e+02 2.3722743e+00
2.5500000e+02 2.5500000e+00
2.5600000e+02 2.6743644e+00
2.5700000e+02 2.7549347e+00
2.5800000e+02 2.8183732e+00
2.5900000e+02 2.8903620e+00
2.6000000e+02 2.9740394e+00
2.6100000e+02 3.0500000e+00
2.6200000e+02 3.1057046e+00
2.6300000e+02 3.1600000e+00
2.6400000e+02 3.2306876e+00
2.6500000e+02 3.3000000e+00
2.6600000e+02 3.3494498e+00
2.6700000e+02 3.3932377e+00
2.6800000e+02 3.4529817e+00
2.6900000e+02 3.5329378e+00
2.7000000e+02 3.6200000e+00
2.7100000e+02 3.7003077e+00
2.7200000e+02 3.7600000e+00
231.5 4.61
234 4.17
238 3.5
242 2.86
246 2.31
250 1.83
254 1.26
258 0.75
262 0.31
266 0
2.45E+002 0.00E+000
2.46E+002 1.20E-001
2.47E+002 2.03E-001
2.48E+002 2.85E-001
2.49E+002 3.83E-001
2.50E+002 4.93E-001
2.51E+002 5.43E-001
2.52E+002 6.02E-001
2.53E+002 6.73E-001
2.54E+002 7.43E-001
\ No newline at end of file
2.45E+002 0.00E+000
2.46E+002 1.20E-001
2.47E+002 2.03E-001
2.48E+002 2.85E-001
2.49E+002 3.83E-001
2.50E+002 4.93E-001
2.51E+002 5.43E-001
2.52E+002 6.02E-001
2.53E+002 6.73E-001
2.54E+002 7.43E-001
2.54E+002 7.95E-001
\ No newline at end of file
246 0
248 0.054
250 0.074
252 0.141
254 0.254
256 0.314
258 0.424
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment