This commit is contained in:
carina@hades 2022-08-09 12:12:47 -04:00
parent 1a4850fff6
commit ab42249d0f
2 changed files with 3 additions and 1 deletions

View File

@ -33,6 +33,7 @@ mpod = iseg.Mpod(IP)
if mpod.isConnected == False:
exit()
print("============ GUI start")
chList = mpod.GetChList()
hvList = mpod.GetAllHV() # get all V

View File

@ -27,8 +27,9 @@ class Mpod:
print(kaka)
if len(kaka) == 1 :
print(">>>>> cannot get channels list, probably modules switched off\n")
else:
self.isConnected = False
else:
self.isConnected = True
except :
self.isConnected = False
print(">>>>>> cannot establish communitation via " + self.IP)