This commit is contained in:
carina@hades 2022-08-09 11:48:42 -04:00
parent ae504c9c55
commit 1a4850fff6
2 changed files with 2 additions and 1 deletions

View File

@ -30,7 +30,6 @@ sg.theme('DarkPurple5')
header = ["name", "HV [V]", "Current [mA]"]
mpod = iseg.Mpod(IP)
if mpod.isConnected == False:
exit()

View File

@ -30,8 +30,10 @@ class Mpod:
else:
self.isConnected = False
except :
self.isConnected = False
print(">>>>>> cannot establish communitation via " + self.IP)
def SetIP(self, ip):
self.__init__(ip)