HOME Prise de donnees MML Controle commande Simulations Notes Hardware Ligne X Laser Interaction Diagnostiques Synchronisation
Controle commande TANGO IHM CC ELLIOOS
  Notes concernant les Controle commande, Page 1 of 3  Not logged in ThomX    logo
ID Date Author Status Type Category Important Subject Icon
  64   Mon Mar 31 15:12:59 2025 Entered by Hayg Guler from 134.158.205.36 on Mon Mar 31 15:12:41 2025New SolutionInfoDB Taurus Trend icon1.gif 

En attendant que l'archivage archive : 

dans un terminal : 

  • inicon # ça met en place l'environment python 
  • cd /data/shared/commissioning_scripts/Trend_scripts/
  • ./trend.sh TBT_Sum_ALL3.pck # pour avoir le trend sur tbt sum debut / milieu / fin 
  • ./trend.sh TBT_X_BPM4.pck # TBT X meme plage que TBT sum 
  • ./trend.sh TBT_Y_BPM4.pck
  • ./trend.sh TBT_X_BPM5.pck
  • ./trend.sh TBT_Y_BPM4.pck
  • ./trend.sh RF_RPy_Trend.pck # trend des signaux RF  
  • Nous rajouterons ici les autres trends. 
  • MRSV : taurustrend  obl/bpm/mrsv.01-ccd.01/fwhm_x obl/bpm/mrsv.01-ccd.01/fwhm_y
     

 

  63   Fri Jan 10 11:11:21 2025 Entered by Nicolas Delerue from 134.158.195.144 on Fri Jan 10 11:11:09 2025 InfoSoft Saving the kickers values in recipe _LI_TL_RI 

Someone (using the operator account) had added two incorrect lines regarding the photocathode laser in the recipe template recipe_LI_TL_RI.txt.

This was creating an error preventing from saving the kickers/septum values.

This has been fixed.

If you make changes to the recipes templates, please test them and log them!!!

 

  62   Fri Jul 19 15:00:47 2024 Entered by Nicolas Delerue from 193.55.29.173 on Fri Jul 19 15:00:33 2024FixedFixSoft Jauge SF6 

L'affichage défectueux de la jauge SF6 a été retiré de l'IHM Gun_Section.

Un git pull a été fait.

  61   Mon Jun 10 15:03:18 2024 NDNot FixedProblemautre RE: Erreur dans l'IHM RF Canon+Section 

 

ND wrote:

L'IHM RF Canon+Section ( RF/src/IHM_RF.py ) fait un appel (via  RF/src/setup.py ) a l 'attribut LI/HFI/MAM.01/state cependant le DS LI/HFI/MAM.01 l'etat de la pression de SF6 retourne sur le panneau est donc incorrect.

AI1 avant purge SF6.

Attachment 1: Screenshot_from_2024-06-10_15-02-52.png
Screenshot_from_2024-06-10_15-02-52.png
  60   Mon Jun 10 10:42:15 2024 NDNot FixedProblemautre Erreur dans l'IHM RF Canon+Section 

L'IHM RF Canon+Section ( RF/src/IHM_RF.py ) fait un appel (via  RF/src/setup.py ) a l 'attribut LI/HFI/MAM.01/state cependant le DS LI/HFI/MAM.01 l'etat de la pression de SF6 retourne sur le panneau est donc incorrect.

  59   Fri Mar 8 14:16:24 2024 VCFixedFixautre Redpitaya 

L'acquistion des redpitaya doient etre parametrée: sinon l'acquisition n'est pas à 10Hz:

les parametres redpitaya 2 et 4 sont sauvegardés par défaut 

les parametres des reditaya 1 et 3 sont à vérifier

dans propriété Event

Waveform_cha et chb    0.01

dans polling

Waveform_cha et chb    50

 

 

 

  58   Fri Feb 9 15:15:19 2024 Entered by Hayg Guler from 134.158.89.243 on Fri Feb 9 15:15:06 2024Under ProcessInfoTango Démarrage depuis client6 icon1.gif 

Quel Python : 2.7 dans /usr/bin 

IHM :

ok, se lance,  sauf erreur dans le terminal : 

('------------ ', '/data/shared/Interfaces/panneaux/')
ERREUR lors de l'import IHM_health_check !!!
No module named gobject
ERREUR lors de l'import IHM_astor_server !!!
No module named gobject
('HOME_IHM = ', '/data/shared/Interfaces/panneaux/')
('IHM_SST after import #1', '15:13:53')
('IHM_SST after home IHM', '15:13:53')
('------------ ', '/data/shared/Interfaces/panneaux/')
('------------ ', '/data/shared/Interfaces/panneaux/')
ERREUR lors de l'import IHM_SST !!!
No module named gobject

Solutions ? https://stackoverflow.com/questions/37323567/install-gobject-module 

Installing the system provided PyGObject:

  1. Open a terminal
  2. Execute sudo apt install python3-gi python3-gi-cairo gir1.2-gtk-3.0
  3. Change the directory to where your hello.py script can be found (e.g. cd Desktop)
  4. Run python3 hello.py

Installing from PyPI with pip:

  1. Open a terminal and enter your virtual environment
  2. Execute sudo apt install libgirepository1.0-dev gcc libcairo2-dev pkg-config python3-dev gir1.2-gtk-3.0 to install the build dependencies and GTK
  3. Execute pip3 install pycairo to build and install Pycairo
  4. Execute pip3 install PyGObject to build and install PyGObject
  5. Change the working directory to where your hello.py script can be found
  6. Run python3 hello.py

 

Python 3.8 :

conda /data/shared/miniconda3/envs/tango_py3.8/bin/python
Taurus : version 5.1.4

IHM se lance mais plusieurs erreur subsistent par exemple des print

(tango_py3.8) [15:24:31] operateur.thomx@client6:/tmp_mnt/data/operateur.thomx > IHM
[2] 5851
(tango_py3.8) [15:24:34] operateur.thomx@client6:/tmp_mnt/data/operateur.thomx > MainThread     INFO     2024-02-09 15:24:47,654 TaurusRootLogger: Using PyQt5 (v5.12.3 with Qt 5.12.9 and Python 3.8.12)
MainThread     INFO     2024-02-09 15:24:50,994 TaurusRootLogger: Plugin "taurus_pyqtgraph" lazy-loaded as "taurus.qt.qtgui.tpg"
ERREUR lors de l'import screenshot !!!
No module named 'commands'
ERREUR lors de l'import IHM_health_check !!!
cannot import name 'Qwt5' from 'taurus.external.qt' (/data/shared/miniconda3/envs/tango_py3.8/lib/python3.8/site-packages/taurus/external/qt/__init__.py)
ERREUR lors de l'import IHM_astor_server !!!
cannot import name 'Qwt5' from 'taurus.external.qt' (/data/shared/miniconda3/envs/tango_py3.8/lib/python3.8/site-packages/taurus/external/qt/__init__.py)
ERREUR lors de l'import Laser_PhotoCathode !!!
invalid syntax (astor_server.py, line 116)
ERREUR lors de l'import Modulator !!!
Missing parentheses in call to 'print'. Did you mean print("tangotest: ", val.value, " ", value0," ", value1," ",value2)? (ModulateurStatus.py, line 124)
ERREUR lors de l'import powerSupply !!!
Missing parentheses in call to 'print'. Did you mean print(exc)? (powerSupply.py, line 55)
ERREUR lors de l'import IHM_RF !!!
No module named 'PyQt4'
ERREUR lors de l'import IHMLogBook !!!
Missing parentheses in call to 'print'. Did you mean print(self.tabAttachments)? (IHMLogBook.py, line 121)
ERREUR lors de l'import DevicesController !!!
Missing parentheses in call to 'print'. Did you mean print('Error ', i)? (DevicesController.py, line 63)
ERREUR lors de l'import DevicesStatus !!!
No module named 'PyQt4'
ERREUR lors de l'import IHM_SST !!!
Missing parentheses in call to 'print'. Did you mean print(exc)? (IHM_SST.py, line 94)
ERREUR lors de l'import IHM_power !!!
Missing parentheses in call to 'print'. Did you mean print(exc)? (IHM_power.py, line 95)
MainThread     WARNING  2024-02-09 15:24:55,111 TaurusRootLogger: <frozen importlib._bootstrap>:219: DeprecationWarning: taurus.qt.qtgui.plot is deprecated since 4.5. Use taurus_pyqtgraph instead

MainThread     INFO     2024-02-09 15:24:57,533 TaurusRootLogger: plot: Using taurus_pyqtgraph to provide a minimal API to facilitate the transition
ERREUR lors de l'import IHM_charge !!!
No module named 'PyQt4'
ERREUR lors de l'import delays !!!
Missing parentheses in call to 'print'. Did you mean print(exc)? (delays.py, line 106)
ERREUR lors de l'import phase !!!
 

 


 

  Draft   Thu Nov 2 16:27:57 2023 Entered by Super Team from 134.158.195.141 on Thu Nov 2 16:27:39 2023 InfoTango Restauration Base de donnée TANGO 

Restauration effectuée.

Tests en cours.

  56   Fri Sep 29 10:21:06 2023 Entered by Nicolas Delerue from 134.158.195.142 on Fri Sep 29 10:20:52 2023New SolutionInfoDocs Fonctionnement de l'interface "start ThomX for Ring" 

L'interface de demarrage est disponible en tapant "start" dans une fenetre de ligne de commande ou dans la section anneau de PlateformeIHM.

Une copie d'ecran de la  premiere page de l'interface graphique est attachée.

Chaque ligne indique une action a faire (à gauche) avec des informations à consulter (au milieu) avant de faire l 'action (à droite).

Lorsque le bouton action a ete cliqué, l'heure s'affiche ce qui permet d'etre sur que l'action a été effectuée.

Normalement en suivant l'interface ligne par ligne on effectue toutes les actions jusqu'au stockage dans l 'anneau (à condition de charger les bonnes recettes).

 

Attachment 1: Screenshot_from_2023-09-29_10-14-23.png
Screenshot_from_2023-09-29_10-14-23.png
  55   Thu Sep 21 12:29:54 2023 KD, HGNot FixedProblemPython changement paquet dans env conda 

Bonjour à tous,

Quelqu'un ou quelques choses à changer les paquets conda dans l'environnement "#!/usr/bin/env /data/shared/miniconda3/envs/tango_py3.8/bin/python" ce qui fait planter les DS. 

par exemple pour le DS TEST/ThomX_PhotoCathode, le paquet scipy.signal ne possède plus la fonction "convolv2d".

Merci de documenter les modifications que vous faites sur les environnements conda.

 

PS: nous avons mis à jour la version de scipy.

  54   Tue Mar 14 09:07:29 2023 Entered by Kevin Dupraz from 134.158.89.107 on Tue Mar 14 09:07:11 2023Not FixedProblemTango Erreur IHM gun section 

Bonjour,

quand je lance l'IHM gun section, j'ai tout ces warning, cela n'empeche pas à premiere vu le fonctionnement de l'IHM mais ça peut cacher un loup plus important.

>>>>>>>>>>>>>>>>>>>>>>>>>>>


MainThread     INFO     2023-03-14 09:05:48,733 TaurusRootLogger:
*********************
< Deprecation Counts (1):
        1 * "format is deprecated since 4.0.4. Use format_spec or precision instead" >
MainThread     WARNING  2023-03-14 09:05:53,038 srv-2.thomx.fr:20000.ER/HF/RAC.17-API.AI1.AI6: Unknown unit "▒C" (will be treated as unitless)
MainThread     WARNING  2023-03-14 09:05:53,111 srv-2.thomx.fr:20000.ER/HF/RAC.17-API.AI1.AI7: Unknown unit "Mo" (will be treated as unitless)
MainThread     WARNING  2023-03-14 09:05:53,283 srv-2.thomx.fr:20000.LI/OPT/OPT.02-LAS.01: Could not create HW object: device li/opt/opt.02-las.01 not defined in the database !
MainThread     WARNING  2023-03-14 09:05:53,295 srv-2.thomx.fr:20000.LI/OPT/OPT.02-LAS.01: Could not create HW object: device li/opt/opt.02-las.01 not defined in the database !
MainThread     WARNING  2023-03-14 09:05:53,304 srv-2.thomx.fr:20000.LI/OPT/OPT.02-LAS.01: Could not create HW object: device li/opt/opt.02-las.01 not defined in the database !
MainThread     WARNING  2023-03-14 09:05:53,320 srv-2.thomx.fr:20000.LI/HFI/MAM.01: Could not create HW object: device li/hfi/mam.01 not defined in the database !
MainThread     WARNING  2023-03-14 09:05:53,330 srv-2.thomx.fr:20000.LI/HFI/MAM.01: Could not create HW object: device li/hfi/mam.01 not defined in the database !
MainThread     WARNING  2023-03-14 09:05:53,338 srv-2.thomx.fr:20000.LI/HFI/MAM.01: Could not create HW object: device li/hfi/mam.01 not defined in the database !
MainThread     WARNING  2023-03-14 09:05:53,353 srv-2.thomx.fr:20000.LI/HFH/MAM.01: Could not create HW object: device li/hfh/mam.01 not defined in the database !
MainThread     WARNING  2023-03-14 09:05:53,362 srv-2.thomx.fr:20000.LI/HFH/MAM.01: Could not create HW object: device li/hfh/mam.01 not defined in the database !
MainThread     WARNING  2023-03-14 09:05:53,370 srv-2.thomx.fr:20000.LI/HFH/MAM.01: Could not create HW object: device li/hfh/mam.01 not defined in the database !
MainThread     WARNING  2023-03-14 09:05:53,384 srv-2.thomx.fr:20000.LI/VA/AVAL.01-CMD.01: Could not create HW object: device li/va/aval.01-cmd.01 not defined in the database !
MainThread     WARNING  2023-03-14 09:05:53,394 srv-2.thomx.fr:20000.LI/VA/AVAL.01-CMD.01: Could not create HW object: device li/va/aval.01-cmd.01 not defined in the database !
MainThread     WARNING  2023-03-14 09:05:53,401 srv-2.thomx.fr:20000.LI/VA/AVAL.01-CMD.01: Could not create HW object: device li/va/aval.01-cmd.01 not defined in the database !
MainThread     WARNING  2023-03-14 09:05:53,415 srv-2.thomx.fr:20000.LI/VA/AVAL.02-CMD.01: Could not create HW object: device li/va/aval.02-cmd.01 not defined in the database !
MainThread     WARNING  2023-03-14 09:05:53,425 srv-2.thomx.fr:20000.LI/VA/AVAL.02-CMD.01: Could not create HW object: device li/va/aval.02-cmd.01 not defined in the database !
MainThread     WARNING  2023-03-14 09:05:53,432 srv-2.thomx.fr:20000.LI/VA/AVAL.02-CMD.01: Could not create HW object: device li/va/aval.02-cmd.01 not defined in the database !
MainThread     WARNING  2023-03-14 09:05:53,446 srv-2.thomx.fr:20000.TL/VA/AVAL.01-CMD.01: Could not create HW object: device tl/va/aval.01-cmd.01 not defined in the database !
MainThread     WARNING  2023-03-14 09:05:53,455 srv-2.thomx.fr:20000.TL/VA/AVAL.01-CMD.01: Could not create HW object: device tl/va/aval.01-cmd.01 not defined in the database !
MainThread     WARNING  2023-03-14 09:05:53,462 srv-2.thomx.fr:20000.TL/VA/AVAL.01-CMD.01: Could not create HW object: device tl/va/aval.01-cmd.01 not defined in the database !
MainThread     WARNING  2023-03-14 09:05:53,668 srv-2.thomx.fr:20000.LI/HFI/Att.02-MOT.01.position: Unknown unit "Steps" (will be treated as unitless)
MainThread     WARNING  2023-03-14 09:05:54,803 srv-2.thomx.fr:20000.LI/HFI/Dep.01-MOT.01.Position: Unknown unit "Steps" (will be treated as unitless)
MainThread     WARNING  2023-03-14 09:05:55,180 srv-2.thomx.fr:20000.LI/HFI/Att.01-MOT.01.position: Unknown unit "steps" (will be treated as unitless)
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

bonne journée,

  53   Thu Feb 23 12:57:41 2023 NDFixedInfoTango RE: Reglage alarmes temperature chiller et frigo 

Voici les temperatures mise a jour

ND wrote:

Les couleurs des alarmes et erreur pour les chillers sont regles dans les atkpanels. Cf copies d'ecrans jointes.

Pour le chiller canon:

atkpanel CALC/ER_HF/RAC.17-API.AI1_AI2 &

Cliquer sur les points de suspension. J'ai mis comme gamme acceptable 31.6-32.4C (cf copie d'ecran).

Pour les clarinettes:

atkpanel ER/HF/RAC.17-API.AI2 &

Gamme acceptable clarinette canon: 10-35

Gamme acceptable clarinette section: 10-31

Temperature eau aimants:

atkpanel  ER/HF/RAC.17-API.AI1 

lignes AI6 et AI7 (pas de limites pour l 'instant)

 

 

Attachment 1: Screenshot_from_2023-02-23_12-56-29.png
Screenshot_from_2023-02-23_12-56-29.png
Attachment 2: Screenshot_from_2023-02-23_12-56-16.png
Screenshot_from_2023-02-23_12-56-16.png
Attachment 3: Screenshot_from_2023-02-23_12-56-05.png
Screenshot_from_2023-02-23_12-56-05.png
  52   Thu Feb 23 10:34:13 2023 NDFixedInfoTango Reglage alarmes temperature chiller et frigo 

Les couleurs des alarmes et erreur pour les chillers sont regles dans les atkpanels. Cf copies d'ecrans jointes.

Pour le chiller canon:

atkpanel CALC/ER_HF/RAC.17-API.AI1_AI2 &

Cliquer sur les points de suspension. J'ai mis comme gamme acceptable 31.6-32.4C (cf copie d'ecran).

Pour les clarinettes:

atkpanel ER/HF/RAC.17-API.AI2 &

Gamme acceptable clarinette canon: 10-35

Gamme acceptable clarinette section: 10-31

Temperature eau aimants:

atkpanel  ER/HF/RAC.17-API.AI1 

lignes AI6 et AI7 (pas de limites pour l 'instant)

 

Attachment 1: Screenshot_from_2023-02-23_10-41-14.png
Screenshot_from_2023-02-23_10-41-14.png
Attachment 2: Screenshot_from_2023-02-23_10-46-01.png
Screenshot_from_2023-02-23_10-46-01.png
Attachment 3: Screenshot_from_2023-02-23_10-49-52.png
Screenshot_from_2023-02-23_10-49-52.png
Attachment 4: Screenshot_from_2023-02-23_10-50-54.png
Screenshot_from_2023-02-23_10-50-54.png
Attachment 5: Screenshot_from_2023-02-23_10-51-11.png
Screenshot_from_2023-02-23_10-51-11.png
Attachment 6: Screenshot_from_2023-02-23_10-53-08.png
Screenshot_from_2023-02-23_10-53-08.png
Attachment 7: Screenshot_from_2023-02-23_10-55-49.png
Screenshot_from_2023-02-23_10-55-49.png
  51   Thu Feb 16 18:01:13 2023 Entered by Nicolas Delerue from 134.158.88.175 on Thu Feb 16 17:58:07 2023New SolutionInfoautre Ajout temperature et resistivite de l'eau => IHM GUN_SECTION, entered from 134.158.88.175 

Suite à la discussion en réunion technique ce matin j'ai ajouté la temperature et la resistivite de l'eau de refroissiment des aimants dans l'IHM Gun_SECTION (je sais que ce n'est pas le bon endorit mais il n'y a pas d'IHM plus adapté).

C'est sous sortie chiller, cf copie d'écran ci-joint.

 

Attachment 1: IHM_Gun_Section.png
IHM_Gun_Section.png
  Draft   Thu Feb 16 17:58:22 2023 Entered by Nicolas Delerue from 134.158.88.175 on Thu Feb 16 17:58:07 2023New SolutionInfoautre Ajout temperature et resistivite de l'eau => IHM GUN_SECTION 

Suite à la discussion en réunion technique ce matin j'ai ajouté la temperature et la resistivite de l'eau de refroissiment des aimants dans l'IHM Gun_SECTION (je sais que ce n'est pas le bon endorit mais il n'y a pas d'IHM plus adapté).

Cf copie d'écran ci-joint.

 

  49   Tue Jan 17 11:35:09 2023 Entered by Nicolas Delerue from 134.158.195.142 on Tue Jan 17 11:34:54 2023New SolutionInfoSoft Creation automatique du repertoire avec la date 

J'ai mis en place la creation automatique tous les matins du lundi au vendredi a 1h15 d'un repertoire avec la date dans  /data/shared/Commissioning_tools/Mesure/

Apres sa creation un lien symbolique vers ce repertoire est mis sous le nom /data/shared/Commissioning_tools/Mesure/today cela permet de configurer les scripts pour qu'ils sauvent dans /data/shared/Commissioning_tools/Mesure/today

Me prevenir si cela ne fonctionne pas.

 

 

  48   Thu Dec 15 12:10:32 2022 Entered by Nicolas Delerue from 134.158.88.175 on Thu Dec 15 12:10:17 2022New SolutionInfoautre IHM recette 

J'ai supprimé l'erreur affichée par l'IHM recettes quand l'état du DS est ON... Donc normalement les erreurs affichées maintenant devraient être pertinentes.

J'ai monté le nombre d'erreurs affichées à 10.

Me dire si il y a d'autres erreurs à masquer.

 

  47   Mon Nov 7 23:47:16 2022 NDNew SolutionInfoTango RE: Arrêt Machine 

Je l'ai ajouté dans PlateformeIHM, section Outils et j'ai fait un git pull.

 

Entered by Kevin Dupraz from 134.158.89.107 on Fri Nov 4 18:56:54 2022 wrote:

Bonjour,

Une commande "STOP_THOMX" a été ajouté au DS script de ThomX : "TEST/HL/ThomX_Script".

Cette commande permet d'arrêter toute la machine en une fois (Alimentation + éléments pulsés + chillers/frigo + modulateur + Laser).

*!* Une confirmation est demandé avant l'arrêt. Il faut mettre "true" pour confirmer l'arrêt.  *!*

L'info final donne les DS qui ne sont pas éteints. Souvent le modulateur qui prend du temps pour se mettre en off.

Pensez à tourner la clé PA en partant.

 

  46   Mon Nov 7 22:34:11 2022 Entered by Nicolas Delerue from 80.119.21.73 on Mon Nov 7 22:33:55 2022New SolutionInfoSoft Scan phase section 

J'ai ajouté dans plateforme IHM un bouton "scan RF phase" qui scan la phase RF section entre 105 et 125 degrees pour trouver le meximum d'energie et la FWHM minimum du faisceau sur TL/SST2.

Pour l'instant il n'y a pas d'interface à part le plot qui s'affiche à la fin mais j'en ajouetrai une prochainement.

 

  45   Fri Nov 4 18:57:10 2022 Entered by Kevin Dupraz from 134.158.89.107 on Fri Nov 4 18:56:54 2022New SolutionInfoTango Arrêt Machine 

Bonjour,

Une commande "STOP_THOMX" a été ajouté au DS script de ThomX : "TEST/HL/ThomX_Script".

Cette commande permet d'arrêter toute la machine en une fois (Alimentation + éléments pulsés + chillers/frigo + modulateur + Laser).

*!* Une confirmation est demandé avant l'arrêt. Il faut mettre "true" pour confirmer l'arrêt.  *!*

L'info final donne les DS qui ne sont pas éteints. Souvent le modulateur qui prend du temps pour se mettre en off.

Pensez à tourner la clé PA en partant.

ELOG V3.1.4-395e101