From aea0e97d8cc52c177072997da025247b22356fdd Mon Sep 17 00:00:00 2001 From: Don Neill Date: Sun, 28 Jul 2024 13:29:53 -0700 Subject: [PATCH 1/2] Scale exptime in wait_for_exposure in archon.cpp --- camerad/archon.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/camerad/archon.cpp b/camerad/archon.cpp index c2ae50a0..ea2f5186 100644 --- a/camerad/archon.cpp +++ b/camerad/archon.cpp @@ -4966,7 +4966,7 @@ namespace Archon { exposure_timeout_time = 1000; //ms } else { - exposure_timeout_time = (this->camera_info.exposure_time) + 1000; + exposure_timeout_time = (this->camera_info.exposure_time / this->camera_info.exposure_factor) * 1000 + 1000; } // Now start polling the Archon for the last remaining portion of the exposure delay From 6146f4bd2a199230bb5043509a5804a7f14c2037 Mon Sep 17 00:00:00 2001 From: Don Neill Date: Sun, 28 Jul 2024 13:44:58 -0700 Subject: [PATCH 2/2] Update comment to reflect required units (ms) for timeout in wait_for_expose in archon.cpp --- camerad/archon.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/camerad/archon.cpp b/camerad/archon.cpp index ea2f5186..d3efad3b 100644 --- a/camerad/archon.cpp +++ b/camerad/archon.cpp @@ -4958,7 +4958,7 @@ namespace Archon { return NO_ERROR; } - // Set the time-out value. If the exposure time is less than a second, set + // Set the time-out value in ms. If the exposure time is less than a second, set // the timeout to 1 second. Otherwise, set it to the exposure time plus // 1 second. //