This is a code the python GUI for Iseg HV control using SNMP.
Go to file
2024-11-05 09:31:53 -05:00
.gitignore add git ignore for token file 2024-03-15 14:49:07 -04:00
IsegGUI.py fix threahold Current display bug 2024-11-05 09:31:53 -05:00
IsegHVController.py use influx-client to push data 2024-03-11 12:45:09 -04:00
IsegHVDataBase.py add button to switch off all channels; add some fault proof 2024-10-15 15:48:02 -04:00
IsegLibrary.py add button to switch off all channels; add some fault proof 2024-10-15 15:48:02 -04:00
README.md for Ubuntu 24, need libxcb-cursor0 2024-10-22 10:49:04 -04:00

Request packages

in Ubuntu 20+

~>sudo apt install python3-pyqt6 snmp snmp-mibs-downloader curl python3-pip libxcb-cursor0
~>python3 -m pip install pyqt6 influxdb-client

also, download the https://fsunuc.physics.fsu.edu/wiki/images/5/53/WIENER-CRATE-MIB.txt and put in /usr/share/snmp/mibs/

Usage

~>python3 IsegGUI.py <IP>

DataBase connection

for influxDB V1, simply put the database IP. since 2024, we upgraded to influxDB V2, a token is needed for secure connection. For Token, please check https://fsunuc.physics.fsu.edu/elog/fsunuc/28

old GUI using PySimpleGUI

Since the PySimpleGUI think user should register, so We use Qt6. The IsegHVController.py is no longer maintain.