View Issue Details

IDProjectCategoryView StatusLast Update
0001926CCdcielGeneralpublic18-04-28 20:16
ReporterThomas Jaeger Assigned ToPatrick Chevalley  
PrioritynormalSeverityminorReproducibilityhave not tried
Status resolvedResolutionfixed 
PlatformPCOSLinuxOS Version64bit
Product Version0.9 
Target Version1.0 
Summary0001926: Automatic flat generation stopped because of autoguiding
DescriptionThere is a full log in the attachment.
At the begin of the session I did flats with a sequence. The sequence stopped with an autoguiding error, but
autoguiding is not needed with flats. In my case not possible, because I got an off-axis guider. Is it a user failure?

In short:
2018-04-07T21:20:16.329 Saved file /home/starhopper/CCD/NGC4631/Flat/Flat_G_20180407_192016.fits
2018-04-07T21:20:16.344 Starting Flat exposure 14 for 1.196 seconds
...
2018-04-07T21:21:02.574 Autoguiding stopped for 3 minutes, sequence timeout in 2 minutes.
...
2018-04-07T21:22:03.876 Autoguiding stopped for 4 minutes, sequence timeout in 1 minutes.
...
2018-04-07T21:22:57.968 Autoguider was still not guiding after 5 minutes.
2018-04-07T21:22:57.968 Try next target in sequence.
2018-04-07T21:22:57.968 Try next target
2018-04-07T21:22:57.968 Stop plan LRGB-Flats-Gain53
TagsNo tags attached.

Activities

Thomas Jaeger

18-04-09 18:38

reporter  

Log_20180407_191151.log (76,421 bytes)

Patrick Chevalley

18-04-09 21:02

administrator   ~0004661

Yes, this is a bug. It must not monitor the autoguider status when doing a flat.

I will correct that but in the mean time you can avoid this problem by not touching phd2 during the flat, here the source of the problem is because you briefly start looping exposure in phd2 at 21:17:57.

Patrick Chevalley

18-04-09 22:29

administrator   ~0004666

This is fixed by :
https://github.com/pchev/ccdciel/commit/eee8064643d4f6a6b7d20012257879c43cd39add

Thomas Jaeger

18-04-17 00:21

reporter   ~0004728

I cannot confirm, that it is fixed.
I made a sequence with only flats, CCDCiel tries to start the autoguider.

Thomas Jaeger

18-04-17 00:22

reporter  

Log_20180417_000638.log (11,806 bytes)   
2018-04-17T00:06:38.929  CCDciel Version beta 0.9.34-1000-f3a9899 2018/04/16 14:25:26
2018-04-17T00:06:38.929  Compiled with: Lazarus 1.8.2.0 Free Pascal 3.0.4 Linux-x86_64-gtk2
2018-04-17T00:06:38.930  CCDciel Version beta 0.9.34-1000-f3a9899 initialized
2018-04-17T00:06:41.137  Connecting Camera...
2018-04-17T00:06:41.146  Connecting Filter wheel...
2018-04-17T00:06:41.154  Connecting Focuser...
2018-04-17T00:06:41.252  Connecting Camera...
2018-04-17T00:06:41.258  Connecting Camera...
2018-04-17T00:06:41.372  Focuser connected
2018-04-17T00:06:41.472  Filter wheel connected
2018-04-17T00:06:42.483  Camera frame x=0 y=0 width=5496 height=3672
2018-04-17T00:06:43.603  Camera cooler : True
2018-04-17T00:06:44.504  Camera connected
2018-04-17T00:06:45.552  ZWO CCD ASI183MM Pro: Set temperature -20.0
2018-04-17T00:06:52.427  Try to connect to autoguider
2018-04-17T00:06:52.433  Autoguider: Stopped
2018-04-17T00:06:52.448  Autoguider: Stopped
2018-04-17T00:07:02.437  Starting sequence M98
2018-04-17T00:07:02.440  Initialize target M82
2018-04-17T00:07:02.443  Start autoguider
2018-04-17T00:07:07.963  Autoguider: Looping Exposures
2018-04-17T00:07:11.069  Autoguider disconnected
2018-04-17T00:07:11.071  Autoguider: Disconnected
2018-04-17T00:07:19.557  Capture already running! please stop it first if you want to start a new sequence.
2018-04-17T00:07:21.590  Request to stop the current sequence
2018-04-17T00:07:21.593  Sequence stopped by user request, no termination script will be run.
2018-04-17T00:07:42.111  Try to connect to autoguider
2018-04-17T00:07:42.113  Autoguider: Disconnected
2018-04-17T00:07:42.114  Autoguider disconnected
2018-04-17T00:07:42.115  Autoguider: Disconnected
2018-04-17T00:07:45.789  Try to connect to autoguider
2018-04-17T00:07:45.793  Autoguider: Disconnected
2018-04-17T00:07:45.793  Autoguider disconnected
2018-04-17T00:07:45.797  Autoguider: Disconnected
2018-04-17T00:08:33.705  Try to connect to autoguider
2018-04-17T00:08:33.709  Autoguider: Disconnected
2018-04-17T00:08:33.710  Autoguider disconnected
2018-04-17T00:08:33.714  Autoguider: Disconnected
2018-04-17T00:08:43.645  Set Binning 4x4
2018-04-17T00:08:43.646  ZWO CCD ASI183MM Pro: Set binning 4x4
2018-04-17T00:08:43.755  Stop preview
2018-04-17T00:08:43.755  ZWO CCD ASI183MM Pro: Abort exposure
2018-04-17T00:08:43.865  Cannot start preview now
2018-04-17T00:08:48.479  Start single preview
2018-04-17T00:08:48.513  End preview
2018-04-17T00:08:48.757  Pause: Cannot connect to autoguider, sequence will run without guiding! 
Do you want to continue anyway?
2018-04-17T00:08:52.977  Sequence will run without guiding!
2018-04-17T00:08:52.978  Starting sequence M98
2018-04-17T00:08:52.978  Initialize target M82
2018-04-17T00:08:52.979  Object M82, start plan LRGB-Flats
2018-04-17T00:08:52.987  ASI EFW: Set filter position 4
2018-04-17T00:09:01.768  Start step B-Flat
2018-04-17T00:09:01.768  Start capture
2018-04-17T00:09:01.769  Set Binning 1x1
2018-04-17T00:09:01.769  ZWO CCD ASI183MM Pro: Set binning 1x1
2018-04-17T00:09:02.096  ZWO CCD ASI183MM Pro: Set frame type Flat    
2018-04-17T00:09:02.097  Starting Flat exposure 1 for 1 seconds
2018-04-17T00:09:11.457  Request to stop the current sequence
2018-04-17T00:09:11.457  ZWO CCD ASI183MM Pro: Abort exposure
2018-04-17T00:09:11.458  Abort exposure
2018-04-17T00:09:11.458  Stop capture
2018-04-17T00:09:11.462  Sequence stopped by user request, no termination script will be run.
2018-04-17T00:09:13.736  Plan LRGB-Flats stopped.
2018-04-17T00:09:13.737  Sequence M98 stopped.
2018-04-17T00:09:18.320  Try to connect to autoguider
2018-04-17T00:09:18.321  Autoguider: Disconnected
2018-04-17T00:09:18.322  Autoguider disconnected
2018-04-17T00:09:18.323  Autoguider: Disconnected
2018-04-17T00:09:18.329  Try to connect to autoguider
2018-04-17T00:09:18.330  Autoguider: Connecting
2018-04-17T00:09:18.331  Autoguider disconnected
2018-04-17T00:09:18.333  Autoguider: Disconnected
2018-04-17T00:09:20.450  Try to connect to autoguider
2018-04-17T00:09:20.454  Autoguider: Disconnected
2018-04-17T00:09:20.455  Autoguider disconnected
2018-04-17T00:09:20.458  Autoguider: Disconnected
2018-04-17T00:09:25.018  Try to connect to autoguider
2018-04-17T00:09:25.024  Autoguider: Disconnected
2018-04-17T00:09:25.025  Autoguider disconnected
2018-04-17T00:09:25.029  Autoguider: Disconnected
2018-04-17T00:09:28.327  Pause: Cannot connect to autoguider, sequence will run without guiding! 
Do you want to continue anyway?
2018-04-17T00:09:34.165  Sequence will run without guiding!
2018-04-17T00:09:34.171  Starting sequence M98
2018-04-17T00:09:34.174  Initialize target M82
2018-04-17T00:09:34.175  Object M82, start plan LRGB-Flats
2018-04-17T00:09:39.254  Start step B-Flat
2018-04-17T00:09:39.254  Start capture
2018-04-17T00:09:39.256  Starting Flat exposure 1 for 1 seconds
2018-04-17T00:09:54.327  Flat level=19329
2018-04-17T00:09:54.328  Adjust flat exposure time to 1.293 and retry.
2018-04-17T00:09:54.336  Starting Flat exposure 1 for 1.293 seconds
2018-04-17T00:10:09.355  Flat level=23088
2018-04-17T00:10:09.459  Saved file /home/starhopper/CCD/M98/Flat/Flat_B_20180416_221009.fits
2018-04-17T00:10:09.468  Starting Flat exposure 2 for 1.400 seconds
2018-04-17T00:10:24.490  Flat level=23079
2018-04-17T00:10:24.625  Saved file /home/starhopper/CCD/M98/Flat/Flat_B_20180416_221024.fits
2018-04-17T00:10:24.637  Starting Flat exposure 3 for 1.517 seconds
2018-04-17T00:10:40.075  Flat level=26884
2018-04-17T00:10:40.181  Saved file /home/starhopper/CCD/M98/Flat/Flat_B_20180416_221040.fits
2018-04-17T00:10:40.189  Starting Flat exposure 4 for 1.411 seconds
2018-04-17T00:10:55.461  Flat level=26865
2018-04-17T00:10:55.565  Saved file /home/starhopper/CCD/M98/Flat/Flat_B_20180416_221055.fits
2018-04-17T00:10:55.586  Starting Flat exposure 5 for 1.313 seconds
2018-04-17T00:11:10.576  Flat level=23131
2018-04-17T00:11:10.680  Saved file /home/starhopper/CCD/M98/Flat/Flat_B_20180416_221110.fits
2018-04-17T00:11:10.693  Starting Flat exposure 6 for 1.419 seconds
2018-04-17T00:11:25.940  Flat level=26846
2018-04-17T00:11:26.046  Saved file /home/starhopper/CCD/M98/Flat/Flat_B_20180416_221125.fits
2018-04-17T00:11:26.056  Starting Flat exposure 7 for 1.321 seconds
2018-04-17T00:11:41.106  Flat level=23054
2018-04-17T00:11:41.212  Saved file /home/starhopper/CCD/M98/Flat/Flat_B_20180416_221141.fits
2018-04-17T00:11:41.225  Starting Flat exposure 8 for 1.433 seconds
2018-04-17T00:11:56.722  Flat level=26795
2018-04-17T00:11:56.830  Saved file /home/starhopper/CCD/M98/Flat/Flat_B_20180416_221156.fits
2018-04-17T00:11:56.845  Starting Flat exposure 9 for 1.337 seconds
2018-04-17T00:12:11.901  Flat level=23069
2018-04-17T00:12:12.006  Saved file /home/starhopper/CCD/M98/Flat/Flat_B_20180416_221211.fits
2018-04-17T00:12:12.019  Starting Flat exposure 10 for 1.449 seconds
2018-04-17T00:12:27.216  Flat level=26845
2018-04-17T00:12:27.321  Saved file /home/starhopper/CCD/M98/Flat/Flat_B_20180416_221227.fits
2018-04-17T00:12:27.342  Starting Flat exposure 11 for 1.349 seconds
2018-04-17T00:12:42.362  Flat level=23059
2018-04-17T00:12:42.467  Saved file /home/starhopper/CCD/M98/Flat/Flat_B_20180416_221242.fits
2018-04-17T00:12:42.479  Starting Flat exposure 12 for 1.463 seconds
2018-04-17T00:12:57.853  Flat level=26813
2018-04-17T00:12:57.959  Saved file /home/starhopper/CCD/M98/Flat/Flat_B_20180416_221257.fits
2018-04-17T00:12:57.972  Starting Flat exposure 13 for 1.364 seconds
2018-04-17T00:13:13.462  Flat level=22979
2018-04-17T00:13:13.570  Saved file /home/starhopper/CCD/M98/Flat/Flat_B_20180416_221313.fits
2018-04-17T00:13:13.583  Starting Flat exposure 14 for 1.484 seconds
2018-04-17T00:13:29.204  Flat level=26771
2018-04-17T00:13:29.316  Saved file /home/starhopper/CCD/M98/Flat/Flat_B_20180416_221329.fits
2018-04-17T00:13:29.330  Starting Flat exposure 15 for 1.386 seconds
2018-04-17T00:13:44.612  Flat level=22972
2018-04-17T00:13:44.718  Saved file /home/starhopper/CCD/M98/Flat/Flat_B_20180416_221344.fits
2018-04-17T00:13:44.735  Starting Flat exposure 16 for 1.508 seconds
2018-04-17T00:13:59.988  Flat level=26881
2018-04-17T00:14:00.095  Saved file /home/starhopper/CCD/M98/Flat/Flat_B_20180416_221359.fits
2018-04-17T00:14:00.108  Starting Flat exposure 17 for 1.402 seconds
2018-04-17T00:14:15.436  Flat level=26824
2018-04-17T00:14:15.541  Saved file /home/starhopper/CCD/M98/Flat/Flat_B_20180416_221415.fits
2018-04-17T00:14:15.554  Starting Flat exposure 18 for 1.307 seconds
2018-04-17T00:14:30.613  Flat level=23009
2018-04-17T00:14:30.734  Saved file /home/starhopper/CCD/M98/Flat/Flat_B_20180416_221430.fits
2018-04-17T00:14:30.748  Starting Flat exposure 19 for 1.420 seconds
2018-04-17T00:14:46.168  Flat level=26762
2018-04-17T00:14:46.276  Saved file /home/starhopper/CCD/M98/Flat/Flat_B_20180416_221446.fits
2018-04-17T00:14:46.290  Starting Flat exposure 20 for 1.327 seconds
2018-04-17T00:15:01.332  Flat level=22998
2018-04-17T00:15:01.435  Saved file /home/starhopper/CCD/M98/Flat/Flat_B_20180416_221501.fits
2018-04-17T00:15:01.457  Starting Flat exposure 21 for 1.443 seconds
2018-04-17T00:15:16.722  Flat level=26828
2018-04-17T00:15:16.826  Saved file /home/starhopper/CCD/M98/Flat/Flat_B_20180416_221516.fits
2018-04-17T00:15:16.839  Starting Flat exposure 22 for 1.345 seconds
2018-04-17T00:15:32.198  Flat level=23070
2018-04-17T00:15:32.309  Saved file /home/starhopper/CCD/M98/Flat/Flat_B_20180416_221532.fits
2018-04-17T00:15:32.322  Starting Flat exposure 23 for 1.458 seconds
2018-04-17T00:15:47.492  Flat level=26741
2018-04-17T00:15:47.597  Saved file /home/starhopper/CCD/M98/Flat/Flat_B_20180416_221547.fits
2018-04-17T00:15:47.612  Starting Flat exposure 24 for 1.363 seconds
2018-04-17T00:16:02.671  Flat level=23029
2018-04-17T00:16:02.779  Saved file /home/starhopper/CCD/M98/Flat/Flat_B_20180416_221602.fits
2018-04-17T00:16:02.796  Starting Flat exposure 25 for 1.480 seconds
2018-04-17T00:16:18.051  Flat level=26783
2018-04-17T00:16:18.155  Saved file /home/starhopper/CCD/M98/Flat/Flat_B_20180416_221618.fits
2018-04-17T00:16:18.171  Starting Flat exposure 26 for 1.381 seconds
2018-04-17T00:16:33.417  Flat level=23018
2018-04-17T00:16:33.532  Saved file /home/starhopper/CCD/M98/Flat/Flat_B_20180416_221633.fits
2018-04-17T00:16:33.545  Starting Flat exposure 27 for 1.500 seconds
2018-04-17T00:16:48.988  Flat level=26757
2018-04-17T00:16:49.111  Saved file /home/starhopper/CCD/M98/Flat/Flat_B_20180416_221648.fits
2018-04-17T00:16:49.123  Starting Flat exposure 28 for 1.401 seconds
2018-04-17T00:17:04.476  Flat level=26812
2018-04-17T00:17:04.584  Saved file /home/starhopper/CCD/M98/Flat/Flat_B_20180416_221704.fits
2018-04-17T00:17:04.596  Starting Flat exposure 29 for 1.306 seconds
2018-04-17T00:17:19.788  Flat level=23019
2018-04-17T00:17:19.898  Saved file /home/starhopper/CCD/M98/Flat/Flat_B_20180416_221719.fits
2018-04-17T00:17:19.911  Starting Flat exposure 30 for 1.418 seconds
2018-04-17T00:17:35.283  Flat level=26799
2018-04-17T00:17:35.390  Saved file /home/starhopper/CCD/M98/Flat/Flat_B_20180416_221735.fits
2018-04-17T00:17:35.407  Starting Flat exposure 31 for 1.323 seconds
2018-04-17T00:17:50.504  Flat level=23021
2018-04-17T00:17:50.610  Saved file /home/starhopper/CCD/M98/Flat/Flat_B_20180416_221750.fits
2018-04-17T00:17:50.628  Starting Flat exposure 32 for 1.437 seconds
2018-04-17T00:18:06.067  Flat level=26803
2018-04-17T00:18:06.172  Saved file /home/starhopper/CCD/M98/Flat/Flat_B_20180416_221806.fits
2018-04-17T00:18:06.188  Starting Flat exposure 33 for 1.340 seconds
2018-04-17T00:18:21.523  Flat level=23045
2018-04-17T00:18:21.627  Saved file /home/starhopper/CCD/M98/Flat/Flat_B_20180416_221821.fits
2018-04-17T00:18:21.645  Starting Flat exposure 34 for 1.454 seconds
Log_20180417_000638.log (11,806 bytes)   

Patrick Chevalley

18-04-17 11:14

administrator   ~0004729

OK, at first I think you do a twilight sky flat sequence and this is fixed for this case.
But you run a standard sequence with image type = flat and I have to fix that.

Some more question because I only use twilight sky flat.
Do you use a flat panel or other light source? and do you think this way of making flat can be improved?

Thomas Jaeger

18-04-17 14:00

reporter   ~0004730

I do use a homemade 25cm flat led box and a homemade 35cm EL-Foil box. The power of the emitted light is not constant even with leds over the time I do the flats.

At first use, I was afraid that CCDCiel calculates a new exposure time every frame. But this is good. Most users would expect that CCDCiel estimates the exposure time for a given AD and than do all the flats with the same time.

After all, BIAS, DARKS and FLATS should be undepended from autoguiding.

Thomas

Patrick Chevalley

18-04-17 14:39

administrator   ~0004731

OK, this must be fixed.

This change avoid to force a connection to the auto-guider if the sequence contain only calibration (i.e. no LIGHT frames):
https://github.com/pchev/ccdciel/commit/6b29e946f4f6117876e768f59bdb41adf8c7b3fe

This change do not start auto-guiding for a plan with only calibration steps:
https://github.com/pchev/ccdciel/commit/03b0686fdd017a17485b1d80616c08b7b816fb54

Patrick Chevalley

18-04-17 14:54

administrator   ~0004732

Yes, at the moment the flat logic is for twilight flats and in this case the exposure adjustment is require for every exposure because the sky luminosity change very rapidly.

I think about another option in "Preference / Flat" for led or dome flat.
In this case I can adjust the exposure time only for the first flat with each filter and then keep the same exposure time for all the series.

Thomas Jaeger

18-04-18 13:51

reporter   ~0004733

The option "Preference/Flat/Flatbox, LED, Dome" were fine.

Patrick Chevalley

18-04-18 19:09

administrator   ~0004734

I make a new version 0.9.35 that is available for testing as the weather look good for this next days.

This include the fix for the autoguider and a new option in Preference/Flat for Dome/Panel.

When Dome/Panel is selected the exposure is adjusted only for the first frame and all the series is done with this exposure time.
I also add an option to slew the telescope to a specific position before the flat. This can be use with a flat panel or other white surface fixed on the observatory wall.

Thomas Jaeger

18-04-28 19:18

reporter   ~0004737

I cannot reproduce the movement of the telescope to a specific position, because I do not have a observatory. I have tried the dome flat option. This worked as expected. In my case I went back to the twilight flat option because my two flatboxes (led and EL) do not produce a constant light flux.

Thanks for implementing all the options - CCDCiel grows better and better.
Thomas

Patrick Chevalley

18-04-28 20:16

administrator   ~0004738

OK, no problem. Now there is enough options to adapt to many use case.
Thank you for all your testing and the suggestion to improve the program.

Issue History

Date Modified Username Field Change
18-04-09 18:38 Thomas Jaeger New Issue
18-04-09 18:38 Thomas Jaeger File Added: Log_20180407_191151.log
18-04-09 21:02 Patrick Chevalley Assigned To => Patrick Chevalley
18-04-09 21:02 Patrick Chevalley Status new => confirmed
18-04-09 21:02 Patrick Chevalley Target Version => 1.0
18-04-09 21:02 Patrick Chevalley Note Added: 0004661
18-04-09 22:29 Patrick Chevalley Status confirmed => resolved
18-04-09 22:29 Patrick Chevalley Resolution open => fixed
18-04-09 22:29 Patrick Chevalley Note Added: 0004666
18-04-17 00:21 Thomas Jaeger Status resolved => new
18-04-17 00:21 Thomas Jaeger Resolution fixed => reopened
18-04-17 00:21 Thomas Jaeger Note Added: 0004728
18-04-17 00:22 Thomas Jaeger File Added: Bildschirmfoto vom 2018-04-17 00-06-18.png
18-04-17 00:22 Thomas Jaeger File Added: Log_20180417_000638.log
18-04-17 11:14 Patrick Chevalley Note Added: 0004729
18-04-17 14:00 Thomas Jaeger Note Added: 0004730
18-04-17 14:39 Patrick Chevalley Note Added: 0004731
18-04-17 14:54 Patrick Chevalley Note Added: 0004732
18-04-18 13:51 Thomas Jaeger Note Added: 0004733
18-04-18 19:09 Patrick Chevalley Note Added: 0004734
18-04-28 19:18 Thomas Jaeger Note Added: 0004737
18-04-28 20:16 Patrick Chevalley Status new => resolved
18-04-28 20:16 Patrick Chevalley Resolution reopened => fixed
18-04-28 20:16 Patrick Chevalley Note Added: 0004738