Commit 3229aaf2 authored by Milan Prica's avatar Milan Prica

Allow read aperture while moving.

parent 3960cd67
...@@ -149,7 +149,7 @@ class IrisDiaphragm (PyTango.Device_4Impl): ...@@ -149,7 +149,7 @@ class IrisDiaphragm (PyTango.Device_4Impl):
self.write_position(new_aperture) self.write_position(new_aperture)
def is_Aperture_allowed(self, req_type): def is_Aperture_allowed(self, req_type):
return self.get_state() in (PyTango.DevState.ON,) return req_type is PyTango.AttReqType.READ_REQ or self.get_state() in (PyTango.DevState.ON,)
def read_StepSize(self, attr): def read_StepSize(self, attr):
# self.debug_stream("In read_StepSize()") # self.debug_stream("In read_StepSize()")
......
Markdown is supported
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