Skip to content
Snippets Groups Projects
Commit 3229aaf2 authored by Milan Prica's avatar Milan Prica
Browse files

Allow read aperture while moving.

parent 3960cd67
No related branches found
No related tags found
No related merge requests found
......@@ -149,7 +149,7 @@ class IrisDiaphragm (PyTango.Device_4Impl):
self.write_position(new_aperture)
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):
# self.debug_stream("In read_StepSize()")
......
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