Works without stdDAQ
This commit is contained in:
@@ -510,6 +510,8 @@ class GigaFrostCamera(PSIDeviceBase, GigaFrostBase):
|
|||||||
success=[StdDaqStatus.IDLE, StdDaqStatus.FILE_SAVED],
|
success=[StdDaqStatus.IDLE, StdDaqStatus.FILE_SAVED],
|
||||||
error=[StdDaqStatus.REJECTED, StdDaqStatus.ERROR],
|
error=[StdDaqStatus.REJECTED, StdDaqStatus.ERROR],
|
||||||
)
|
)
|
||||||
|
else:
|
||||||
|
status.set_finished()
|
||||||
return status
|
return status
|
||||||
|
|
||||||
########################################
|
########################################
|
||||||
|
|||||||
@@ -96,6 +96,7 @@ class PcoTestConsumerMixin(CustomDetectorMixin):
|
|||||||
# f"[{self.parent.name}] Updated frame {header['frame']}\t"
|
# f"[{self.parent.name}] Updated frame {header['frame']}\t"
|
||||||
# f"Shape: {header['shape']}\tMean: {np.mean(image):.3f}"
|
# f"Shape: {header['shape']}\tMean: {np.mean(image):.3f}"
|
||||||
# )
|
# )
|
||||||
|
print(f"[{self.parent.name}] Updated frame {header['frame']}\t")
|
||||||
except ValueError:
|
except ValueError:
|
||||||
# Happens when ZMQ partially delivers the multipart message
|
# Happens when ZMQ partially delivers the multipart message
|
||||||
pass
|
pass
|
||||||
|
|||||||
Reference in New Issue
Block a user