Client Applications for Sirius
Project description
Sirius HLA CONS - GUI
This repo contains various PyDM OPIs in use.
Develop
In order to contribute with this repository the developer must have pre-commit installed and enabled.
pip install pre-commit
pre-commit install
Install
Available at PyPi https://pypi.org/project/siriushlacon/, can be installed using pip but specific versions of QT are needed.
Conda
Install (Linux)
# Install Miniconda
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
sh Miniconda3-latest-Linux-x86_64.sh
# Remove the install script
rm Miniconda3-latest-Linux-x86_64.sh
Install (Windows)
Download at https://repo.anaconda.com/miniconda/Miniconda3-latest-Windows-x86_64.exe
Important
- Local installation (single user only).
- Add to the PATH
The user should check if conda is enabled. The powershell prompt should look like:
(base) ...
In order to setup conda correctly on powershell use the command below then restart the shell application:
conda init powershell
Set the powershell execution policy so external scripts are availble https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.security/set-executionpolicy?view=powershell-7.1
Set-ExecutionPolicy RemoteSigned
Environment setup
Create a conda environment using a tested python version
conda create --name py36 python=3.6
Environment dependencies:
# Activate the environment "py36", the shell prompt should start with "(py36) ..."
conda activate py36
# Enable conda-forge channel
conda config --add channels conda-forge
conda config --set channel_priority strict
# Install EPICS base
conda install -c conda-forge/label/cf202003 epics-base
# Install dependencies
conda install -c conda-forge bottleneck
conda install -c conda-forge pyqt==5.12.3
conda install -c conda-forge qt==5.12.9
conda install -c conda-forge pydm==1.10.4
# Install interfaces
pip install --upgrade siriushlacon
Desktop shortcut
Windows:
This assumes a conda environment named py36
. The .lnk
content must be updated in case of a different name.
iex ((New-Object System.Net.WebClient).DownloadString('https://raw.githubusercontent.com/lnls-sirius/pydm-opi/master/miscellaneous/windows/Create-Shortcut.ps1'));
Run
To launch the main window use the script: sirius-hla-as-ap-conlauncher.py
.
On Windows make sure that the correct python.exe
or pythonw.exe
is the default program for *.py
files.
pythonw.exe (Get-Command sirius-hla-as-ap-conlauncher.py).Path
pythonw.exe (Get-Command sirius-hla-as-va-vbc.py).Path
2.4.1 - Sprint 15
- UPDATE: Merge PR beaglebones
- FIX: Check Python version before using
dataclasses
(required 3.7+)
2.4.0 - Sprint 15
- FIX: agilent4uhv details table crash.
- FIX: regatron alarm tree view with broken PV names.
- NEW: Central logging module
logging.py
. - NEW: Include CODEOWNERS file.
- NEW: Include
siriushlacon_launcher
; usage of setup entrypoints. - UPDATE: Center MKS ans Agilent table labels.
- UPDATE: Custom PyDMAppliacation instance using
sirius-hla-as-ap-generic-launcher
entrypoint instead ofpydm
. - UPDATE: Widgets and generic components into
widgets/
. - UPDATE: launcher img layout.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for siriushlacon-2.5.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 100fdfdcf1daf0ddac92c35e9f31ec7b4e7a75c278122b8d71a84565061b55ab |
|
MD5 | 874bb3d4cf251a66ae10e2c6bb8cb3c4 |
|
BLAKE2b-256 | 9d43842b8579f2ada3d0d79045d3156c4c04f0c22e81edd7c27e414cd9ff2f55 |