aera_det: added set_manual in case set_atuo is used.

This commit is contained in:
appleb_m committed 2026-01-22 10:11:19 +01:00
1 parent a49176aa13
commit f0fc348949
1 file changed
+6
+6
View File
@@ -134,6 +134,12 @@ class epicsAD(object):
self.expo_mode.put(2) # automatic exposure control
self.acquire.put(1)
def set_manual(self):
self.acquire.put(0, wait=True)
self.gain_mode.put(0) # automatic gain control
self.expo_mode.put(0) # automatic exposure control
self.acquire.put(1)
def restore(self, gain: float = 5, expo: float = 0.025):
# Put this values, so the camera faster resores proper values in Auto mode
self.acquire.put(0, wait=True)