Can run a simple acquisition

This commit is contained in:
Mohacsi Istvan
2024-06-25 16:11:45 +02:00
committed by mohacsi_i
parent dc6a8eea0a
commit 1aa478db92

View File

@@ -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):