diff --git a/DG_PY_Kalypso.py b/DG_PY_Kalypso.py index c27cf3c6fe9308b223ee993f9acf245b35ffc9c0..b7e001ed4d318d1648d76fa2280c9961156e6985 100644 --- a/DG_PY_Kalypso.py +++ b/DG_PY_Kalypso.py @@ -198,13 +198,13 @@ class StateThread(Thread): str_state = 'acquisition in progress...please be patient' else: str_state = 'acquisition in progress...please be patient -to stop acquisition send Stop command' - elif self.mother.Local_synchro_attr!="": - loc_syn_attr=tango.AttributeProxy("self.mother.Local_synchro_attr") + elif self.mother.Local_synchro_attr !="": + loc_syn_attr=tango.AttributeProxy(self.mother.Local_synchro_attr) loc_syn_attr_state=loc_syn_attr.state() loc_syn_attr_value=loc_syn_attr.read().value if loc_syn_attr_value != 3 or loc_syn_attr_state != tango.DevState.ON: self.mother.set_state(tango.DevState.ALARM) - str_state = 'Please check Local synchro card' + str_state = 'Please check Local synchro card: '+self.mother.Local_synchro_attr elif ps_outut == False: self.mother.set_state(tango.DevState.ALARM) str_state = 'Alarm Power_supply Off'