Skip to content
Snippets Groups Projects
Commit b2a72c06 authored by Milan Prica's avatar Milan Prica :skier:
Browse files

Allow for calibration even if already calibrated.

parent 2e513087
No related branches found
Tags 1.0.1
No related merge requests found
......@@ -927,9 +927,9 @@ class Smaract_mcs2 (PyTango.Device_4Impl):
def Calibrate(self):
self.debug_stream("In Calibrate()")
if self.attr_IsCalibrated_read:
self.debug_stream("Already calibrated. Do nothing.")
return
# if self.attr_IsCalibrated_read:
# self.debug_stream("Already calibrated. Do nothing.")
# return
cmd_str = ":CHAN" + self.chan + ":CAL:OPT 0"
self.socket_write(cmd_str)
# start actual calibration:
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment