From 090eb8d68cd40ca43bd571cad5c541a558ef9afd Mon Sep 17 00:00:00 2001 From: Valentin Valls Date: Mon, 4 Dec 2023 10:44:32 +0100 Subject: [PATCH] Use a default value which allow to read the very first index --- Lima/Server/LimaCCDs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lima/Server/LimaCCDs.py b/Lima/Server/LimaCCDs.py index 7616660..5b0a13e 100755 --- a/Lima/Server/LimaCCDs.py +++ b/Lima/Server/LimaCCDs.py @@ -2085,7 +2085,7 @@ def readImage(self, frame_number): # # @returns Image if new image available since last_frame_number else None @Core.DEB_MEMBER_FUNCT - def readLastImage(self, last_frame_number=0): + def readLastImage(self, last_frame_number=-1): deb.Param("readLastImage: last_frame_number=%d" % last_frame_number) status = self.__control.getStatus() last_img_ready = status.ImageCounters.LastImageReady