From 1aa478db92fc043da22c2cd8b5e579d4f5b418e1 Mon Sep 17 00:00:00 2001 From: Mohacsi Istvan Date: Tue, 25 Jun 2024 16:11:45 +0200 Subject: [PATCH] Can run a simple acquisition --- tomcat_bec/devices/gigafrost/gigafrostclient.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tomcat_bec/devices/gigafrost/gigafrostclient.py b/tomcat_bec/devices/gigafrost/gigafrostclient.py index b807873..67717d9 100644 --- a/tomcat_bec/devices/gigafrost/gigafrostclient.py +++ b/tomcat_bec/devices/gigafrost/gigafrostclient.py @@ -243,7 +243,7 @@ class GigaFrostClient(Device): # soft trigger on if self._auto_soft_enable: self.cmdSoftEnable.set(1).wait() - self.state = const.GfStatus.OPEN + self.state = const.GfStatus.ACQUIRING return super().stage() def unstage(self): @@ -254,7 +254,7 @@ class GigaFrostClient(Device): self.cmdStartCamera.set(0).wait() if self._auto_soft_enable: self.cmdSoftEnable.set(0).wait() - self.state = const.GfStatus.CLOSED + self.state = const.GfStatus.STOPPED return super().unstage() def stop(self):