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 3 of 3  Not logged in ThomX    logo
ID Date Author Status Typedown Category Important Subject Icon
  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
  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.

  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 !!!
 

 


 

  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!!!

 

  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
     

 

  38   Mon Jul 25 15:12:44 2022 Entered by Moutardier Alexandre from 91.168.92.148 on Mon Jul 25 15:12:31 2022 FixPython Git pull sur /data/shared/panneaux 

git pull sur /data/shared/panneaux/

ajout de bouton sur Plateforme IHM pour acceder au ATKpanel du laser + correction bug IHM_SST

  39   Mon Aug 8 22:48:12 2022 Entered by Moutardier Alexandre from 91.168.92.148 on Mon Aug 8 22:47:58 2022FixedFixPython Git pull sur /data/shared/panneaux 

git pull sur /data/shared/panneaux/

Fait :
- correction d'une erreur dans les fichiers de configuration de Health_check
- astor server :
    - suppression bouton "restart"
    - Stop -> Kill : A n'utilser qu'en dernier recourt si le DS est planté
    - ajout du bouton ATKPanel qui permet de d'afficher la liste des ATKPanel associé au DS en cours
- IHM SST :
    - Ajout d'un bouton pour passer en mode trigger interne avec 1s de temps d'exposition

  40   Tue Aug 30 07:38:04 2022 Entered by Moutardier Alexandre from 91.168.92.148 on Tue Aug 30 07:37:52 2022 FixPython Git pull sur /data/shared/panneaux 

git pull sur /data/shared/panneaux :

Correction erreur IHM_charge

  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

 

 

 

  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.

ELOG V3.1.4-395e101