From 483e5bee3071c1607445e03e3809764c1966fae9 Mon Sep 17 00:00:00 2001 From: "K. Gofron" Date: Mon, 28 Sep 2026 21:46:33 -0400 Subject: [PATCH] fix: stabilize image accumulation screen --- RELEASE.md | 9 + .../op/bob/common/Acquire/ImgAccumulation.bob | 381 +++++------------- 2 files changed, 99 insertions(+), 291 deletions(-) diff --git a/RELEASE.md b/RELEASE.md index 7417df1..ea338de 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -37,6 +37,15 @@ R1-8-0 (in progress) same command. Sanitizer jobs and generated dependency/version evidence remain follow-up R1-8-0 release-assurance work. +### Image accumulation display stability + +* Replace nine overlapping, geometry-specific Phoebus image widgets with one + dynamically sized widget for each accumulated, current-frame, and last-N + waveform. The display continues to support 256x256, 512x512, and 1024x512 + detector rasters while avoiding repeated array-index update warnings. +* Preserve the existing waveform and geometry PV names and the accumulation + controls introduced for R1-8-0. + ### Bounded rolling accumulation * Replace repeated sum-of-N recomputation with an exact rolling update whose diff --git a/tpx3App/op/bob/common/Acquire/ImgAccumulation.bob b/tpx3App/op/bob/common/Acquire/ImgAccumulation.bob index 77cd6e7..5e67921 100644 --- a/tpx3App/op/bob/common/Acquire/ImgAccumulation.bob +++ b/tpx3App/op/bob/common/Acquire/ImgAccumulation.bob @@ -707,7 +707,7 @@ - Image_Accumulated_512 + Image_Accumulated $(P)$(R)ImageData 680 750 @@ -718,7 +718,7 @@ true X (Width) 0.0 - 512.0 + 1.0 @@ -732,7 +732,7 @@ true Y (Height) 0.0 - 512.0 + 1.0 @@ -743,159 +743,45 @@ - - + + true $(P)$(Cam)PixCount_RBV - - 512 - 512 - - - Image_Accumulated_256 - $(P)$(R)ImageData - 680 - 750 - 700 - 700 - false - - true - X (Width) - 0.0 - 256.0 - - - - - - - - - - - true - Y (Height) - 0.0 - 256.0 - - - - - - - - - - - - - true - + + 256 + 512 + 1024 $(P)$(Cam)PixCount_RBV - - 256 - 256 - - - Image_Accumulated_1024 - $(P)$(R)ImageData - 680 - 750 - 700 - 350 - false - - true - X (Width) - 0.0 - 1024.0 - - - - - - - - - - - true - Y (Height) - 0.0 - 512.0 - - - - - - - - - - - - - true - + + 256 + 512 $(P)$(Cam)PixCount_RBV - - 1024 - 512 - - - Image_Frame_512 - $(P)$(R)ImageFrame - 1420 - 750 - 700 - 700 - false - - true - X (Width) - 0.0 - 512.0 - - - - - - - - - - - true - Y (Height) - 0.0 - 512.0 - - - - - - - - - - - - - true - + + 256 + 512 + 1024 + $(P)$(Cam)PixCount_RBV + + + 256 + 512 + $(P)$(Cam)PixCount_RBV + + + 700 + 350 $(P)$(Cam)PixCount_RBV - 512 - 512 + 1 + 1 - Image_Frame_256 + Image_Frame $(P)$(R)ImageFrame 1420 750 @@ -906,7 +792,7 @@ true X (Width) 0.0 - 256.0 + 1.0 @@ -920,7 +806,7 @@ true Y (Height) 0.0 - 256.0 + 1.0 @@ -931,112 +817,45 @@ - - + + true $(P)$(Cam)PixCount_RBV - - 256 - 256 - - - Image_Frame_1024 - $(P)$(R)ImageFrame - 1420 - 750 - 700 - 350 - false - - true - X (Width) - 0.0 - 1024.0 - - - - - - - - - - - true - Y (Height) - 0.0 - 512.0 - - - - - - - - - - - - - true - + + 256 + 512 + 1024 $(P)$(Cam)PixCount_RBV - - 1024 - 512 - - - Image_Sum_N_Frames_512 - $(P)$(R)ImageSumNFrames - 1420 - 10 - 700 - 700 - false - - true - X (Width) - 0.0 - 512.0 - - - - - - - - - - - true - Y (Height) - 0.0 - 512.0 - - - - - - - - - - - - - true - + + 256 + 512 + $(P)$(Cam)PixCount_RBV + + + 256 + 512 + 1024 + $(P)$(Cam)PixCount_RBV + + + 256 + 512 + $(P)$(Cam)PixCount_RBV + + + 700 + 350 $(P)$(Cam)PixCount_RBV - 512 - 512 + 1 + 1 - Image_Sum_N_Frames_256 + Image_Sum_N_Frames $(P)$(R)ImageSumNFrames 1420 10 @@ -1047,7 +866,7 @@ true X (Width) 0.0 - 256.0 + 1.0 @@ -1061,7 +880,7 @@ true Y (Height) 0.0 - 256.0 + 1.0 @@ -1072,62 +891,42 @@ - - + + true $(P)$(Cam)PixCount_RBV - - 256 - 256 - - - Image_Sum_N_Frames_1024 - $(P)$(R)ImageSumNFrames - 1420 - 10 - 700 - 350 - false - - true - X (Width) - 0.0 - 1024.0 - - - - - - - - - - - true - Y (Height) - 0.0 - 512.0 - - - - - - - - - - - - - true - + + 256 + 512 + 1024 + $(P)$(Cam)PixCount_RBV + + + 256 + 512 + $(P)$(Cam)PixCount_RBV + + + 256 + 512 + 1024 + $(P)$(Cam)PixCount_RBV + + + 256 + 512 + $(P)$(Cam)PixCount_RBV + + + 700 + 350 $(P)$(Cam)PixCount_RBV - 1024 - 512 + 1 + 1 FrameSum