Flat generation always outputs to same image
Hello, it seems that the flat generation procedure is always outputting to the same image, when "count" >= 2. How to reproduce:
- go to capture module
- select type Flat
- from the calibration options, select manual and 31000 ADU, then click ok
- set a short exposure, like 0.5
- count >=2
- start procedure.
With count=2:
2022-02-07T15:59:28 Captured /home/pstivanin/Flat/L/Flat_L_0.313_secs_001.fits
2022-02-07T15:59:28 Received image 2 out of 2.
2022-02-07T15:59:24 Capturing 0.313-second image...
2022-02-07T15:59:24 Captured /home/pstivanin/Flat/L/Flat_L_0.313_secs_001.fits
2022-02-07T15:59:24 Received image 1 out of 2.
2022-02-07T15:59:20 Capturing 0.313-second image...
2022-02-07T15:59:20 Current ADU 31008 within target ADU tolerance range.
this is reproducible with the simulators too. Here count=3:
2022-02-09T08:01:52 Captured /home/pstivanin/Flat/Red/Flat_Red_1.303_secs_001.fits
2022-02-09T08:01:52 Received image 3 out of 3.
2022-02-09T08:01:51 Capturing 1.303-second image...
2022-02-09T08:01:50 Captured /home/pstivanin/Flat/Red/Flat_Red_1.303_secs_001.fits
2022-02-09T08:01:50 Received image 2 out of 3.
2022-02-09T08:01:49 Capturing 1.303-second image...
2022-02-09T08:01:48 Captured /home/pstivanin/Flat/Red/Flat_Red_1.303_secs_001.fits
2022-02-09T08:01:48 Received image 1 out of 3.
2022-02-09T08:01:47 Capturing 1.303-second image...
2022-02-09T08:01:46 Current ADU 31000 within target ADU tolerance range.
2022-02-09T08:01:45 Capturing 1.303-second image...
2022-02-09T08:01:44 Current ADU is 14871 Next exposure is 1.303017 seconds.
2022-02-09T08:01:43 Capturing 0.625-second image...
2022-02-09T08:01:43 Current ADU is 11898 Next exposure is 0.625000 seconds.
2022-02-09T08:01:42 Capturing 0.500-second image...
2022-02-09T08:01:40 Job requires 0.500-second images, has 0/3 frames captured and will be processed.
2022-02-09T08:01:40 Warning: Guide deviation is selected but autoguide process was not started.
2022-02-09T08:01:40 Ekos will refocus in 3,600 seconds.
Kstars 3.5.7 INDI 1.9.4 openSUSE Leap 15.3 and Tumbleweed
Edited by Paolo Stivanin