This commit is contained in:
Ryan@SOLARIS_WIN 2025-08-21 14:53:33 -05:00
commit f153bb2300
2 changed files with 17 additions and 9 deletions

View File

@ -32,17 +32,16 @@ if useInfluxDBv1 == False :
nArg = len(sys.argv)
if nArg == 1 :
IP = "192.168.1.155"
else:
if nArg > 1 :
IP = sys.argv[1]
else :
IP = input('Mpod IP address to connect : ')
#Sergio MPOD 128.186.111.101
#ANASEN MPOD 128.186.111.208
pushToDB = False
#============== assign a port, to prevent the script run mulitple time
s = socket.socket()
host = socket.gethostname()

View File

@ -1,17 +1,26 @@
# Request packages
in Ubuntu 20+
## 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/
## in Mac
install snmp, also
~>python3 -m pip install pyqt6 influxdb-client
also put 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>
if no IP is set, the default is 192.168.1.155
# 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